NJDaeger's Avatar
Member
Level 62 High Grandmaster Programmer
241

Forum Posts

1 - 12 of 12

    NJDaeger
    05/28/2017 12:09 pm
    Level 62 : High Grandmaster Programmer
    NJDaeger's Avatar
    I'm not particularly interested in helping you make this plugin, but there are several places better than planetminecraft to look for help.

    The Spigot Forums: https://www.spigotmc.org/

    A Plugin Development Discord: https://discord.gg/ceXA6xG

    Making a minigame is a huge task and it's easily screwed up. I would really recommend doing what jely2002 said and start out with a more simple plugin to get yourself familiar with Java and the Spigot API.
    1
    NJDaeger
    03/07/2017 7:03 pm
    Level 62 : High Grandmaster Programmer
    NJDaeger's Avatar
    Post something here: https://www.spigotmc.org/
    1
    NJDaeger
    03/07/2017 7:02 pm
    Level 62 : High Grandmaster Programmer
    NJDaeger's Avatar
    Greenfield has well over 2000 builds, as Broville has 800+ (according to their project page)
    1
    NJDaeger
    02/12/2017 6:50 pm
    Level 62 : High Grandmaster Programmer
    NJDaeger's Avatar
    Worldedit
    1
    NJDaeger
    01/04/2017 9:29 pm
    Level 62 : High Grandmaster Programmer
    NJDaeger's Avatar
    You shouldn't have deleted your previous version of chunky. When a chunky update installs it automatically clears any unneeded files in order for it to install properly.
    1
    NJDaeger
    11/23/2016 3:07 pm
    Level 62 : High Grandmaster Programmer
    NJDaeger's Avatar
    //rotate -90 i think
    1
    NJDaeger
    10/13/2016 10:39 pm
    Level 62 : High Grandmaster Programmer
    NJDaeger's Avatar
    Yep. If you need any more help I would actually suggest looking on GitHub at bukkit plugins and see how they program them, I'm actually working on a remake of essentials, you can take a look at that if you want too

    PS Make sure that you setup another if statement below the "if (args.length == 0) {" line and check if the command has another argument. If you don't do that it will throw an array out of bounds exception or an NPE. (don't quote me on that lol) then after you check if the command has 1 argument do an else statement below it and have a too many arguments error!
    1
    NJDaeger
    10/13/2016 7:30 am
    Level 62 : High Grandmaster Programmer
    NJDaeger's Avatar
    If you are just trying to heal a specified player, you don't need to do it via uuid. You can just create a target with their player name, because you wont be getting an offline player. So all you need to do is this "Player target = Bukkit.getPlayer(String name);"
    1
    NJDaeger
    05/30/2016 4:47 pm
    Level 62 : High Grandmaster Programmer
    NJDaeger's Avatar
    First testfor players in a radius of lets say, 5 blocks... So
    /testfor @a[r=5] ~ ~ ~

    then have a comparator be activated from the testfor command block triggering another command block that contains the teleport command. You make the teleport command teleport a random player to the desired location. so like this:

    /tp @r[r=5] (your coords here)

    off of the teleport command block have a repeater going off of it to another command block that contains another teleport command. to teleport the other player to the other desired location.

    /tp @r[r=5] (your coords here)

    So this would be your setup:

    /testfor @a[r=5] ~ ~ ~ -> (comparator) -> /tp @r[r=5] (desired coords) -> (repeater) -> /tp @r[r=5] (desired coords)

    If you only wanted to teleport one of the players then take away the second teleport command.
    1
    NJDaeger
    05/30/2016 4:34 pm
    Level 62 : High Grandmaster Programmer
    NJDaeger's Avatar
    Assuming that is a driver issue. The new driver version, i believe its like 168.3 or something like that, causes errors with seus and continuum. It is recommended that you switch back to an older driver to make these work. I do think continuum fixed the new driver issue in their 1.2 release though. But if you want to use seus, you need to switch back to an older driver.
    1
    NJDaeger
    05/30/2016 2:02 am
    Level 62 : High Grandmaster Programmer
    NJDaeger's Avatar
    What you would do is testfor their death count, then have a comparator be activated if it reaches a certain amount. then the comparator activates another command block teleporting the person to the desired area.

    So lets say they have 5 deaths, with that you want to tp them too 1 1 1 in the world.
    you setup a command block to run constantly testing for the players death count of 5 then when someone hits that number they are teleported. This video will help you. https://www.youtube.com/watch?v=jsP6QjuAVng
    1

1 - 12 of 12

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome