The Bukkit Consulting Firm - Solving all your Bukkit-related challenges!

Discussion in 'Bukkit Help' started by M1sT3rM4n, Aug 25, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    tyzoid

    They seemed to solve this problem here: http://forums.bukkit.org/threads/solved-get-moon-phases.50746/#post-871482
     
    Muizers likes this.
  2. Offline

    jerry98765

    So ive heard alot about running an Ubtuntu server, however im confused? What is the advantage of running a server through Ubuntu and what does it do?
     
  3. Offline

    HG-Bloodmorphed

    Well I made a thread about this, But If I would have seen this first I woulda posted it here, So.. here it is

    Well, I've tried doing: https://github.com/Ahtenus/minecraft-init

    Right now I'm using a simple script to run my server. I wish to have something like Ahtenus' script. I've also tried ABM. That didn't work out so well, at all.

    I'm a little worried, because I can't find a good script to be able to re-start the server apon minecraft server crash, NOR my dedi server restarting. I would write one myself if I could but hell I'm still new to linux and I am VERY lucky I was able to get Teamspeak AND minecraft servers running.


    I'd lock my own thread if I could, or I just dont know how hahah


    Well, Linux in general is VERY light weight. And I mean very. :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 14, 2016
  4. Offline

    jerry98765

    What do you mean, im confused?
     
  5. Offline

    HG-Bloodmorphed

    Well at the moment, thats really all I can tell you as I'm no expert.

    But for me most things run much more smooth on a Linux server then a windows server.

    But, you have Ubuntu, CentoS, Dibien(Spell check please), and another one I can't think of the name.
     
  6. Offline

    jerry98765

    Ok wait, start from square one, what does it do in the first place? Pretend I have no idea what it is other than a name.
     
  7. Offline

    tyzoid

    I'm assuming you have windows right now...

    Here's what they all are made for:
    OS_Map.png

    Linux (and ubuntu, which is a flavor of linux) is designed to be fully customizable.

    Let's make an analogy here:
    Think of linux (and ubuntu) as the foundation of a building, and you add any programs you want to it to make a building. With linux, YOU have full control over the system, and there are programs that can help you utilize that control.

    Think of Mac OSx as a pre-fab house. It is quite functional, and you need most of the stuff in there. Adding on to the house, forget it. You could, of course, add a patio, a nice front porch, maybe a nicer mailbox and plant some flowers in the front yard, but you don't have anywhere near the control you have with linux.

    Think of Windows as a mansion. While a mansion is functional, it contains many things you don't need, and yet, there are still things you do need that don't come standard (perhaps a better AC to heat/cool all of that space?). Adding onto it is easier than adding on to Mac OSx, but it is very costly, and may hurt the usability of the house if done improperly (if they botch up the new AC for example).

    Back to computers now:
    You can add anything to linux, without many issues. Linux is designed to be lightweight, and fully customizable. Linux, out of the box, has almost nothing you need. It is faster than the other alternatives because it only has what you want on it.

    Windows is designed to be usable straight out of the box, but contains many things that you do not need (i.e. bloatware) and slows down when you add more programs, and modify the system.

    Mac OSx is designed to be only what you need. This makes it crash less, as it has less bloatware, and it doesn't suffer from being slow. Adding more functionality to the operating system is a nightmare though (try getting the CPU temperature on a mac).
     
    Jade, ShootToMaim, gomeow and 2 others like this.
  8. tyzoid likes this.
  9. Offline

    tyzoid

    Any time :)
     
  10. Offline

    Retricide

    Very nice analogy, sir.
     
    tyzoid likes this.
  11. Offline

    C0nsole

    tyzoid is a very smart person :p
     
    tyzoid likes this.
  12. Offline

    tyzoid

    Why thank you!
     
  13. Offline

    C0nsole

    No problem. It is true after all ;)
     
  14. Offline

    jerry98765

    Wow thanks, that was incredible, ok so let me get this straight. You are still running your server off of your computer (unlike server hosting) Ubtunu is just a way to sort of get luinx system on your computer? Is that right?
     
  15. Offline

    HG-Bloodmorphed

    Well there are several Linux bases operating systems out there. Ubuntu is probably the most widely used one though (Don't take my word on that though)
     
  16. Offline

    jerry98765

    Right, i get that, but really all your doing is making your server run off of a Linux operating system right? Its not like its a server host where it gives you more ram for example, its just a change in operating systems. Also, does it still work?
     
  17. Offline

    tyzoid

    I currently run my server on an old pentium 4 in my basement. (dedicated to minecraft and webhosting)

    The beauty of ubuntu (and most linux flavors) is that it can squeeze performance out of old and outdated hardware.

    Btw, if you were wondering, a flavor is the same as a distribution. Ubunbu, Red Hat, CentOs, Debian, etc. are all flavors of linux.

    If you were thinking of getting ubuntu, there are desktop, and server editions. If you are just going to run your minecraft server on it, I would recommend the server edition (provided you know your way around with a command line).

    If not, you can always go with the desktop edition and run it off of there.
     
    jerry98765 likes this.
  18. Offline

    jerry98765

    Thanks so much, ok and also I have another question. You might have seent this one before, I just thought I would ask you because it says on the front page here that you know java :). Ok so heres my problem...
    Im currently having a huge issue with my server. Im running a minecraft server with java enviroment 7, 1.5 GB, max 10 players, download speed of 24 and upload of 4.2. Im running it wired to ethernet on windows operating system. My plugins are listed below(Im aware that more plugins equals more lag and that i do have a ton). The error is also below. Whats weird about this error is that it happens at completley random times to random people. Some of my players can no longer play bceasue it almost dc's them immedtiatly. Some dc every couple of minutes or hours and some have never had it happen to them. We have good times and bad times too. This error can occur with as little as one person on. Im aware of what this basically says. That the java network has recieved something from the minecraft server the closes a previouly open port abruptly. However it is so vague and i'm not great at figuring these things. If you have any ideas on what this could be, i would really apreciate it. Also, let me know if there is anything else that you need to know, or any thing i can do.
    The error:​
    07:37 PM [SEVERE] java.net.SocketException: Socket closed
    07:37 PM [SEVERE] at java.net.SocketOutputStream.socketWrite(Unknown Source)
    07:37 PM [SEVERE] at java.net.SocketOutputStream.write(Unknown Source)
    07:37 PM [SEVERE] at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    07:37 PM [SEVERE] at java.io.BufferedOutputStream.flush(Unknown Source)
    07:37 PM [SEVERE] at java.io.DataOutputStream.flush(Unknown Source)
    07:37 PM [SEVERE] at net.minecraft.server.NetworkWriterThread.run(SourceFile:103)​
    Plugins:​
    - World Guard

    - World Borders

    - LagMeter

    - AntiPub

    - RegionClaim

    - No lagg

    - MineQuery

    - Pail Plus

    - ColoredSigns

    - War

    - Stargate

    - PEX

    - Multiverse-Core

    - Essentails Core (except Protect)

    - McGroovy

    - NoLagg

    - MobArena

    - Found Diamonds

    - Simple Spleef

    - NoCheat

    - VanishNoPacket

    - Chestshop

    - Iconomy

    - Lwc


    - Stargates DHD

    - BKcommonLib

    - InfinitePlots

    - InfiniteClaims

    - CraftBukkitUpToDate

    - CoreProtect

    - NoSpawnEggs

    -PvPantilogger

    -multivesre inventories​
     
  19. Offline

    tyzoid

    Looking through your list, I see nolagg twice.

    Nolagg has been known to botch up servers, and I would recommend removing it.

    If you have performance issues, try craftbukkit++ (google it).
     
  20. Offline

    patrick_is_kool

    16:09:43 [SEVERE] Could not pass event SignChangeEvent to Lockette
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1265)
    at net.minecraft.server.Packet130UpdateSign.handle(SourceFile:41)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.IncompatibleClassChangeError: Expecting non-static method com.palmergames.bukkit.towny.object.TownyUniverse.isWilderness(Lorg/bukkit/block/Block;)Z
    at org.yi.acru.bukkit.PluginCore.canBuild(PluginCore.java:614)
    at org.yi.acru.bukkit.Lockette.LocketteBlockListener.onSignChange(LocketteBlockListener.java:614)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    ... 10 more
    I figured out that towny interfeers with lockette. Everytime I try to make a private sign on my server this comes up in terminal. I dont know how to fix it and could i gte help please.
     
  21. Offline

    jerry98765

    Ok thanks, ill try that.
     
  22. Offline

    jerry98765

    Hmm so I did that and it still gives me that error, any ideas or anything?
     
  23. Offline

    bakalove

    how do i get my players to spawn in the same exact spawn point?
     
  24. Offline

    maxa2g

  25. Offline

    tyzoid

    Remove all of your plugins except for: PEX, WorldGuard, Worldedit, Multiverse-core, IConomy, and Pail Plus.

    If that solves your problem, add your plugins back in one-by-one, until it stops working again. Then you've found the problem.

    Just wondering, how's the lag?

    I haven't had nearly any lag on my old Pentium 4...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Mar 26, 2019
  26. Offline

    jerry98765

    Ok yah, ill that. If that doesnt work than Ill take out the craft bukkit and see if it is a sever issue, quick question? Is there any way to test this error other than just waiting for a friend who has this error to time out? This just seems like a very long process, is there any way to "draw out" java errors if that makes sense?
     
  27. Offline

    M1sT3rM4n

    Can you elaborate on the "timing out" part?
     
    Tom Swift likes this.
  28. Offline

    Fyre

    I believe there is an option for exact spawning in the essentials configuration.
     
  29. Offline

    tyzoid

    Not really...

    If you want it to go faster, just disable the plugins that are not ABSOLUTELY CRITICAL to your server (such as nolagg, BKCommonLib, etc.) and see if that helps the situation.

    This issue has already been reported: http://dev.bukkit.org/server-mods/lockette/tickets/31-lockette-causing-towny-errors/

    And should hopefully be fixed soon.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 14, 2016
  30. Offline

    jerry98765

    Yes, the error that people get is end of stream. They say it has a "bunch of java stuff" that comes after it, but they can reconect right away after the initail dc. They happen sporatically at random times to random people. I mention more details, I repeat just in case you missed it: Im running a minecraft server with java enviroment 7, 1.5 GB, max 10 players, download speed of 24 and upload of 4.2. Im running it wired to ethernet on windows operating system. My plugins are listed below(Im aware that more plugins equals more lag and that i do have a ton). The error is also below. Whats weird about this error is that it happens at completley random times to random people. Some of my players can no longer play bceasue it almost dc's them immedtiatly. Some dc every couple of minutes or hours and some have never had it happen to them. We have good times and bad times too. This error can occur with as little as one person on. Im aware of what this basically says. That the java network has recieved something from the minecraft server the closes a previouly open port abruptly. However it is so vague and i'm not great at figuring these things. If you have any ideas on what this could be, i would really apreciate it. Also, let me know if there is anything else that you need to know, or any thing i can do.
    The error:​
    07:37 PM [SEVERE] java.net.SocketException: Socket closed​
    07:37 PM [SEVERE] at java.net.SocketOutputStream.socketWrite(Unknown Source)​
    07:37 PM [SEVERE] at java.net.SocketOutputStream.write(Unknown Source)​
    07:37 PM [SEVERE] at java.io.BufferedOutputStream.flushBuffer(Unknown Source)​
    07:37 PM [SEVERE] at java.io.BufferedOutputStream.flush(Unknown Source)​
    07:37 PM [SEVERE] at java.io.DataOutputStream.flush(Unknown Source)​
    07:37 PM [SEVERE] at net.minecraft.server.NetworkWriterThread.run(SourceFile:103)​
    Anyway, thats all I really know about it to this point, but thank you so much for the response, I really appriecate the help, let me know any more specifics I can provide you with or anything else I can do. :)

    Ok thanks. Just a note, I removed no lagg like you said along with BK and replaced with craftbukkit++. It's great thanks for the suggestion. Ill get back to you when done.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 14, 2016
Thread Status:
Not open for further replies.

Share This Page