Util *BROKEN* *PLEASE READ* Create a Minigame!

Discussion in 'Resources' started by JPG2000, Nov 11, 2013.

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

    PieMan456

    JPG2000
    What would my main classbe in plugin.yml? Would it be the ArenaManager?
     
  2. Offline

    5scb8

  3. Offline

    Slideroller

  4. Offline

    ArthurMaker

    OMG THANKS, BRO!

    I used to look for ways to do arenas like this method: simple and fast! I did countdowns with scoreboards with it and much more! Thank you :D
     
  5. Offline

    lewysryan

    ArthurMaker could you help me with the config // creation of the arena ?
     
  6. Offline

    ArthurMaker

    lewysryan
    I don't know how to explain it, unfortunatelly... But you can check out some videos on Youtube :p
    http://www.youtube.com/user/TheBCBroz -> this is a great channel for ya ;)

    To create an arena, just type "ArenaManager.getManager().createArena(arenaName, joinLocation, startLocation, endLocation, maxPlayers);".

    I edited it to put "minPlayers", multiples spawns, etc. But those things are easy ;P
    This is the easily method I ever seen for arenas! It is just amazing.
     
  7. Offline

    xTrollxDudex

    If you don't know yet, BCBroz is a horrible channel... They probably tried to learn java and code at the same time and... Well, turned out to be pretty messy.
     
    DogeDev and spoljo666 like this.
  8. Offline

    PieMan456

    JPG2000
    Hey how would I make it so I set multiple spawn points and only one person is spawned at that one and the player that spawns there is a random player in the game?
     
  9. Offline

    JPG2000

    PieMan456 Add fields (Location objects) to the Arena class, then put them all in an array list, loop through them, then add a player.
     
  10. Offline

    CookieGamer100

    JPG2000 is loadArenas() working?
     
  11. Offline

    lewysryan

    im really stuck JPG2000 i need help with the config? should a config file be made? how would i create that arena with:

    ArenaManager.getManager().createArena(arenaName, joinLocation, startLocation, endLocation, maxPlayers);"

    is this right?


    FileConfiguration fc = Bukkit.getServer().getPluginManager().getPlugin("explosivearrowpvp").getConfig();

    i need this for my first plugin to be done :( and the others i plan to make.
     
    PieMan456 likes this.
  12. Offline

    PieMan456

    lewysryan
    I need help with this too I don't know how to use config files either.
     
  13. Offline

    lewysryan

    PieMan456 i cant wait until JPG2000 updates it showing us noobs how to do it :/ stupid PS4 :p
     
  14. Offline

    PieMan456

    JPG2000 likes this.
  15. Offline

    JPG2000

    PieMan456 I have almost no time lately. I've been extremely busy. I would really like to do it, but like I said, I have a lot of other things to do.

    Would anyone (a helper) like to volunteer to awnser some thread questions, and maybe make a add arena method? It would help me a lot, and it'll keep you busy :p
     
  16. Offline

    lewysryan

    JPG2000 looks like @ArthurMaker has done it. he dont seem to want to explain it though :/
     
  17. Offline

    PieMan456

  18. Offline

    lewysryan

    PieMan456 we are @ArthurMaker !!!! still trying to do this :/ my plugin will never be done :( guess im going back to learning more java. ill try to figure it out i hope :confused:
     
  19. Offline

    ArthurMaker

    This was my answer for the PieMan:

     
  20. Offline

    PieMan456

    lewysryan
    Look up at arhthurmaker's post.
     
  21. Offline

    PieMan456

    JPG2000
    How would I make a command that sets the join, start, and end location?
     
  22. Offline

    JPG2000

    PieMan456

    Dude, read the end of the tutorial, I have a whole section on commands:
     
  23. Offline

    PieMan456

    JPG2000
    Did we make a setLocations method?
     
  24. Offline

    JPG2000

  25. Offline

    PieMan456

    JPG2000
    Do I do this?
    Code:java
    1. Arena.arenaObjects.set(index, element);
     
  26. Offline

    JPG2000

    PieMan456 No.

    In the actually Arena object, we can set each location.

    Get an arena object you want, and you can set the locations:
    Code:
    some_arena_object.setJoinLocation(location);
    And so on...
     
  27. Offline

    PieMan456

    JPG2000
    Do I make the arena object because I just have an arraylist called arenaObjects from your tutorial.
     
  28. Offline

    JPG2000

    PieMan456 No.

    For every arena you have, there is 1 arena object.

    Set the locations in the arena object you want; and you determine which object you want.

    You could make it from a command, and then you can do:
    Code:
    ArenaManager.getManager().getArena(args[0]);
    And that would return an arena with the first argument in a command. Then with that arena you can then set the Location.


    Also, not to be rude, but it would be worth your time to check out some object tutorials in java, it would help a lot, and you would understand this a little more.
     
  29. Offline

    PieMan456

    JPG2000
    Ok I will check out some object tuts because what you are saying is still very confusing to me. Thanks for helping me though.
     
  30. Offline

    JPG2000

    PieMan456 No problem. Feel free to ask questions, Im here :)
     
Thread Status:
Not open for further replies.

Share This Page