Member
Level 61
High Grandmaster System
116

Forum Posts

501 - 520 of 1,041

    ShelLuser
    09/24/2018 6:25 pm
    Level 61 : High Grandmaster System
    Can you share the actual crashlog? Because this doesn't really help.

    Also: what Minecraft version are you using? Any mods?
    1
    ShelLuser
    09/24/2018 6:17 pm
    Level 61 : High Grandmaster System
    How about the official website mcpatcher.net?

    Still, I doubt that this still works considering the age of the project.
    2
    ShelLuser
    09/24/2018 3:14 pm
    Level 61 : High Grandmaster System
    Did you change anything in the launcher profile(s)? Also: what version of Minecraft are you trying to start?

    Thing is: manually installing Java doesn't have any influence because Minecraft ships its own JVM.
    1
    ShelLuser
    09/24/2018 6:17 am
    Level 61 : High Grandmaster System
    Well, reporting is pretty much the only thing which you can do that actually has a good chance of having some actual impact. Complaining about it, though very understandable, isn't going to change peoples attitudes.

    And there's even another side to the story, though this usually doesn't apply: developers who release a project under an open source license, then get upset when someone else forks the project and starts a new one based on the existing code only to end up more successful than the original project.

    "Your mileage may vary" as is the saying.
    1
    ShelLuser
    09/24/2018 3:56 am
    Level 61 : High Grandmaster System
    Not enough info to even get started guessing what could be wrong. A plugin list is definitely required.

    Most likely you misconfigured some plugins or set some wrong permissions.
    1
    ShelLuser
    09/24/2018 2:55 am
    Level 61 : High Grandmaster System
    There are several ways to do this, some better than the other. So: when a player takes item(s) from a chest they should be immediately jailed, right?

    The easiest way to do this would be to make sure that the chest contains 2 stacks of items. Place a comparator behind it and you'll see that it generates a redstone signal of two. Place a redstone torch on the side of the second block and a command block behind it. That sequence can contain the command(s) required to jail the player and reset the chest.

    Just make sure that the amount of items in the chest is enough so that even taking 1 will decrease the redstone signal.

    A possible downside is that this setup could be spotted by the players, but then again with a slab or stair block placed on top of the chest your redstone routines can be easily hidden.
    2
    ShelLuser
    09/24/2018 12:15 am
    Level 61 : High Grandmaster System
    That's what they said about 1.9 too and here we are :)
    3
    ShelLuser
    09/22/2018 11:29 pm
    Level 61 : High Grandmaster System
    Everyone wants their mince raft, it floats you down the... something :)

    Thanks for sharing!
    1
    ShelLuser
    09/22/2018 6:53 am
    Level 61 : High Grandmaster System
    It sucks compared to the way it used to be? I can appreciate your opinion on that matter but I also know that not everyone would agree with it. Sure some things changed here and there, yet some players welcome that change whereas others long back for the old times.

    Also important to note is that there are plenty of servers out there who feel just like you: they remained using 1.8.10 for several reasons (this is usually mostly PVP related) and still provide the same experiences.

    Which is the main reason why I don't think it sucks: the multiplayer concept itself gives us players everything we might want or need. Don't enjoy the new version(s)? Don't upgrade.

    Which is also the reason why I think you can't really judge the whole concept like that; it's much too diverse. There's pretty much a server for any kind of gaming style right now.
    1
    ShelLuser
    09/22/2018 6:44 am
    Level 61 : High Grandmaster System
    This is definitely something you'd want to solve with a plugin, not a datapack. The problem is that Minecraft doesn't know the concept of variables, and although you can easily store and retrieve single values it becomes quite a hassle if you need to start working with collections.

    And there are already some very good solutions for this out there. GriefPrevention and CoreProtect come to mind here.
    1
    ShelLuser
    09/22/2018 6:36 am
    Level 61 : High Grandmaster System
    It is pretty difficult to predict the future (anything could happen I suppose) but depending on the kind of players you're trying to attract you may end up having a hard time if you won't be available 24/7. See: server lists like the one we have on PMC (see link) are one of the primary features to attract new players.

    Well, if you take a closer look you'll notice that PMC constantly checks if the server is still up and available, this helps players to decide whether their connection attempt is worth it or not. So now imagine that you'll be offline for most of the time: this will be noticed and that will drive some players away.

    So if you plan on trying to attract random new players then yes: you're going to need the availability.
    3
    ShelLuser
    09/22/2018 12:24 am
    Level 61 : High Grandmaster System
    There is a reason why some of us own more than one account. And just so we're clear: I mean legit accounts, not those so called "free alt" hackery garbage nonsense.

    Is it worth it? Heck yeah. I started playing with 1.7.10 and had a great time, now here we are: 4 years further and 1.13.1 is upon us: taking Minecraft into directions totally unthinkable off during the time I bought it. My friend Aya & me actually enjoy playing four in a row from time to time within Minecraft. And I picked up an awesome "battleships" map too.

    Think about this for a sec: we play games inside another game. Not just that: we can even design our own games inside this game if we want to (redstone & functions & scoreboard ftw!).

    You don't just get a nice survival game when picking up on Minecraft; it is SO much more.
    5
    ShelLuser
    09/22/2018 12:18 am
    Level 61 : High Grandmaster System
    Which version are you trying to use?

    Anyway, my advice: go to %appdata% (use the explorer filebrowser) and rename the .minecraft folder you'll find there. Then try again.
    1
    ShelLuser
    09/21/2018 3:27 am
    Level 61 : High Grandmaster System
    I have some problems with your story..

    So the only good servers you encountered were whitelisted? One way or the other it means that you did find a server you liked and/or enjoyed. So your topic contradicts your story: multiplayer doesn't suck, only some servers do. Also: why not ask those admins to open up their server? ;)

    Another problem I have is that I now question the way you approached those servers. I mean.. when you connected to my favorite server all you started with was "whine" (no: not really whining but it did leave that first impression on me) how multiplayer sucked and pointed our attention to your PMC post. With all due respect: that's a seriously lousy way to get started on a server.

    BUT.. I do respect your honesty here. Fair is fair.

    So.. I'm not going to try and change your mind but I would like to raise this issue: "Does the multiplayer really suck or have you perhaps grown over it and got bored with the whole concept?".
    1
    ShelLuser
    09/20/2018 11:29 pm
    Level 61 : High Grandmaster System
    Happy to hear that helped.

    Crash course in initialization

    Are you familiar with tags? There are two tags which are very special: minecraft:tick and minecraft:load. I'm sure you're familiar with the first one: it tells Minecraft to run a function over and over again, comparable to a repeating command block. You're going to need this.

    The second though it also important: it tells Minecraft to run a function once; when your game is starting or when your datapack got (re)loaded. That's what makes it the ideal option to separate your "initialization" routines with other stuff.

    Example: I would dump that "/scoreboard objectives add" command into a function of its own, and then define a tag which points Minecraft to that function. Now.. I made a (rather simple!) datapack a few weeks ago: Herobrine miniboss. It's not too big: consists of 5 functions, 2 advancements and 2 tags. It might help you get a grasp on these tags.
    1
    ShelLuser
    09/20/2018 11:19 pm
    Level 61 : High Grandmaster System
    I would actually strongly suggest against this idea and instead rely on an external hosting provider, simply because there are plenty of caveats which can be difficult to overcome. The most obvious problem: what if you get the wrong kind of player(s) onboard, you ban them and they retaliate with a DDoS attack? Now you'll be fully cut off from the Internet, won't even be able to read your e-mail or check up with online banking. That's a risk which I think isn't worth taking.

    Then there's also something as backups, the one thing most people completely overlook or ignore. How are you going to cope for redundancy? Are you familiar with RAID by any chance? It's the process where you use one (or more) harddisks together at the same time so that when one fails others will take over. It's essential for a server, even home based NAS devices currently use it (Network Accessible Storage).

    Considering the amounts of hosting providers out there I think you'll be better off switching to another. Because another aspect is your Internet connection; usually you get more download speed and less upload speed whereas an ISP will provide much higher and broader speed ranges. It's not merely about having a good upload speed; the balance is important too. If your server receives more information than it can sent out ("process") then that by itself could also cause problems, even lag. I don't see this happening with a smaller amount of players but it is something to keep in mind.

    But even so... what kind of lag are we talking about here? There are different kinds of lag and it seems to me as if you're mixing stuff up. "TPS problems and lag", what does this mean? Can you be more descriptive? So you got 9 Gb of RAM, how sure are you that Java is also actually using any of this? Did you change the way you start your server to specify that it should use more?

    You don't fight lag by merely changing a few gaming options (rendering distance) and optionally throwing some anti-lag plugins at it. Don't get me wrong: they will do their thing and help out a bit, but what if your problem isn't caused by the game itself? What is the speed of your harddisks, what is the speed of your memory?

    The first thing you do is configure and optimize your Java Virtual Machine ("JVM") and you do that by editing the command line parameter to start the server. Make sure that Java knows and actually uses all that memory, optimize the so called garbage collection (for example by telling Java that it should do parallel garbage collecting), increase the heap.. I can't help but think that this can be a major factor for your current problems.

    Here is a good guide on optimizing a Spigot server for better performance, and I'd like to explicitly point your attention to a JVM optimizing guide written by Aikar; considering your problems I'd say it's a must-read.

    Only if that fails then you might want to start looking around for different hosting. See: not having a dedicated CPU core doesn't mean anything. I'm running a small server myself in a FreeBSD jail (virtualization merely for security purposes; making sure to separate the Java process from my main host) and even without a dedicated core or CPU for that matter I don't experience too much lag.
    2
    ShelLuser
    09/20/2018 12:00 am
    Level 61 : High Grandmaster System
    First: your function is a bit of a mess. Don't leave initialization code in the same function you plan on constantly running because it'll be a waste of resources. Although constantly trying to create objectives which already exist may not immediately cause lag it will gobble up precious resources which over time could cause more problems. Especially if you use this design in other functions or datapacks.

    This is also why it's preferable not to blindly run commands to try and see if they work but instead set up a condition and test for that before running the actual command. It doesn't always work this way, but when it does it can save (some) resources.

    So... to make sure I got this right: you have 2 custom items and want one item to change into the other once the player drops it on the ground. Therefor the key is not to end up in an endless cycle of changing items (one into the other). Because of that I wouldn't go for an endless running check but instead make this event driven.

    You're using two different variants of a diamond hoe, that makes it easy because the only event we would need to check for is the player dropping a diamond hoe.
    • /scoreboard objectives add dropped_hoe minecraft.dropped:minecraft.diamond_hoe
    So far the preparation, this could be your function:


    execute if entity @a[scores={dropped_hoe=1}] as @p[scores={dropped_hoe=1}] run tag @s add reset_hoe
    execute at @p[tag=reset_hoe] as @e[type=minecraft:item,tag=!orig,distance=..4,nbt={Item:{id:"minecraft:diamond_hoe"}}] run tag @s add orig
    execute at @e[type=minecraft:item,tag=orig,nbt={Item:{tag:{display:{Name:"\"Test\""}}}}] run summon minecraft:item ~ ~ ~ {Item:{id:"minecraft:diamond_hoe",Count:1b,tag:{display:{Name:"\"Done\""}}}}
    execute at @e[type=minecraft:item,tag=orig,nbt={Item:{tag:{display:{Name:"\"Done\""}}}}] run summon minecraft:item ~ ~ ~ {Item:{id:"minecraft:diamond_hoe",Count:1b,tag:{display:{Name:"\"Test\""}}}}
    execute at @p[tag=reset_hoe] run kill @e[tag=orig,distance=..5]
    scoreboard players reset @a[tag=reset_hoe] dropped_hoe
    tag @a[tag=reset_hoe] remove reset_hoe

    Note: this will insta-add the new item to the players inventory, I only focused on solving the "endless loop" problem and not so much any cosmetic details.

    So, the moment you give yourself a diamond hoe named "Test":
    • /give @p minecraft:diamond_hoe{display:{Name:"\"Test\""}}
    ... and then drop this on the ground you'll immediately get a hoe back which is named 'Done'. Drop that one on the ground and you'll get 'Test' back. All that's left to do is fill in the right nbt tags you want to test for and you should be home free.
    1
    ShelLuser
    09/19/2018 6:36 pm
    Level 61 : High Grandmaster System
    history
    Using a server is not the same as administrating it. You need to register with a hosting provider due to the administration process, but that doesn't mean that all other users of that server have to register as well.
    1

501 - 520 of 1,041

Welcome