KingOfTheLadder

Discussion in 'Plugin Requests' started by OTF Catastrophe, Aug 14, 2016.

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

    OTF Catastrophe

    Plugin category: Fun / Minigames

    Minecraft version: 1.9+

    Suggested name: KingOfTheLadder

    What I want: I would like an almost fully customizable Kind of the Ladder with editable region join messages and leave messages. The little arenas would have to be created with worldedit selections like this. But I'd like players to be able to walk into the region and have the join message go up and what not.

    Ideas for commands:
    • /kotl (Default command)
    • /kotl reload (Reloads config for the messages section)
    • /kotl create {arenaName} (Create an arena)
    • /kotl remove {arenaName} (Remove an arena)
    • /kotl list (Lists arenas)
    • And whatever else you think should be there! :D

    Ideas for permissions:
    • No perms unless you feel it's necessary! :D

    When I'd like it by: ASAP ^-^
     
  2. Offline

    Lordloss

    Maybe you should add an explanation what this plugin exactly is going to do, as not everybody knows what you are talking about.
     
  3. Offline

    OTF Catastrophe

    I'm sure people have heard of King of the Ladder. I even provided a link to another KOTL plugin so people could see what it was like.
     
  4. Offline

    OTF Catastrophe

    Bump - Still need this done.
     
  5. Offline

    AlvinB

    Jezzerdo4 likes this.
  6. Offline

    OTF Catastrophe

    It breaks every time you restart the server.
     
  7. Offline

    AlvinB

  8. Offline

    OTF Catastrophe

    The creator of the plugin has been aware of this since December of 2015 and he hasn't fixed it since. That's why I would like someone to make a new version.
     
  9. Offline

    AlvinB

    @OTF Catastrophe
    Alright, I might have a shot at making this, although you need to explain a bit more. Should the plugin do anything else than creating arenas? You need to list all of the commands you want, and their functionality.
     
  10. Offline

    OTF Catastrophe

    Awesome thank you! The commands and their usages are already in the original post itself.

    Basically king of the ladder is a small minigame where a player walks into a small area usually like 3x3 or 5x5 with a long pole in the direct center that has ladders on each side. The point of king of the ladder is to get to the top of the ladder and knock other players off(So pvp must be enabled in the kotl area). When a player gets to the top you can make it so the player gets points for being up there each second they stand on top(Which would be saved in a player data file and also make it so you need 2 players in that arena area for it to work.. and by work I mean add points).

    Basically the plugin needs to be compatible with WorldEdit selections so you can define the area of the arena. There should be a welcome message sent only to the player when they enter that defined area. Along with a leave message. And when a player is on top of the pole they will get points(If there are 2 or more players in the area at a time.)

    Also another command:
    • /kotl setking {arenaName} (This would set the spot for the players to start getting points. Generally the place they'd try to get to.)
    • /kotl points (This would give you the stats on how many points you have)

    Thanks a ton for trying it out! If you need any more info please feel free to let me know! :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited: Aug 19, 2016
  11. Offline

    Lordloss

    @OTF Catastrophe
    So... what did you just say? ;D
     
  12. Offline

    OTF Catastrophe

    My mistake for not knowing people don't know what King of the Ladder is ^-^
     
  13. Offline

    OTF Catastrophe

  14. Offline

    AlvinB

    @OTF Catastrophe
    I've been a little busy, but I have gotten the arena creation process done. I have a few more questions though. Should these points be only per-game or global? Can you somehow win the game? Also, how do players join the game? Through a command? Or only walk inside the area?
     
  15. Offline

    OTF Catastrophe

    Q: Should these points be only per-game or global:
    A: Global. There isn't really rounds it's just an on going thing.

    Q: Can you somehow win the game?
    A: There's no real winning, you just get points if you're at the top.

    Q: How do players join the game?
    A: They walk into the arena area. It should have a customizable welcome and leave message.

    Any more questions and I'll be happy to answer! Again thank you so much for taking it on! :D
     
  16. Offline

    AlvinB

    @OTF Catastrophe
    I have finished the plugin. Download is here.

    Basically, the commands and permissions are as follows:
    Code:text
    1.  
    2. commands:
    3. kotl:
    4. description: |
    5. /kotl reload - Reloads the plugins configuration files.
    6. /kotl create [arenaName] - Creates a new arena with the name specified.
    7. /kotl create setbound - Sets the bound of the arena to your current WorldEdit selection. Can only be done when creating an arena.
    8. /kotl create setking - Sets the top of the ladder at your current position. Can only be done when creating an arena.
    9. /kotl create save - Saves the arena you are currently creating. Can only be done when creating an arena.
    10. /kotl remove [arenaName] - Removes an arena with the name specified.
    11. /kotl list - Lists all availible arenas.
    12. /kotl points - Displays how many points you have.
    13. /kotl help [pageNumber] - Displays this page.
    14. usage: /kotl <reload|create|setking|remove|list|points> [arenaName]
    15. permissions:
    16. kotl.*:
    17. description: Gives access to all permissions of this plugin.
    18. children:
    19. kotl.reload: true
    20. kotl.create: true
    21. kotl.remove: true
    22. kotl.points: true
    23. kotl.list: true
    24. kotl.reload:
    25. description: Gives access to the /kotl reload command.
    26. default: op
    27. kotl.create:
    28. description: Lets you create arenas using /kotl create.
    29. default: op
    30. kotl.remove:
    31. description: Lets you remove arenas using /kotl remove.
    32. default: op
    33. kotl.points:
    34. description: Lets you view your points using /kotl points.
    35. default: true
    36. kotl.list:
    37. description: Allows you to list all created arenas using /kotl list.
    38. default: true
    39.  


    And the config looks something like this:
    Code:text
    1.  
    2. # Configuration file for KingOfTheLadder.
    3. # All values set here can also be set in the individual configs for arenas, but the ones set here will be used if they're not set in the individual arena configs.
    4. # Points rewarded every second when standing at the top of the ladder.
    5. points-per-second: 10
    6. # Message to be displayed when entering an arena. %arena% will be replaced with the name of the arena. This value should be in apostrophes.
    7. enter-message: '§9[§6KOTL§9] §aYou have entered %arena%!'
    8. # Message to be displayed when leaving an arena. %arena% will be replaced with the name of the arena. This value should be in apostrophes.
    9. leave-message: '§9[§6KOTL§9] §aYou have left %arena%!'
    10. # Number of players required in an arena before points are rewarded.
    11. point-threshold: 2

    Each arena you create will get a new file in the "<your server folder>/plugins/KingOfTheLadder/arenas/" folder, named "<arena name>.yml". Inside these you can add the options in the config.yml, to configure them individually for that specific arena, but if that isn't configured, the values from the config.yml are used.

    Let me know if you find any bugs or something needs clarifying! :D
     
  17. Offline

    OTF Catastrophe

    Hey Alvin, I added the plugin the my server and I set up an arena but there's still a few bugs aha. When players go into the area where the bounds are set it doesn't send a player the leave or join message. Also when there is two players in an arena it doesn't give the player any points. I tried setting the player-threshold to 1 player to see if it'll work with just one player but it still won't.

    Hopefully these are easy fixes aha. I'm glad you took on the plugin, thank you! :)
     
  18. Offline

    AlvinB

    @OTF Catastrophe
    That's weird, all of those things work just fine when I'm testing. Can you provide a server log, aswell as all the config files?
     
  19. Offline

    OTF Catastrophe

  20. Offline

    AlvinB

    @OTF Catastrophe
    I just tested the plugin with both Spigot and CraftBukkit 1.9.4, works perfectly.

    If you do, "/kotl list", does your arena show up there?
     
  21. Offline

    OTF Catastrophe

    Yes the spawn arena does show up in the list.
     
  22. Offline

    AlvinB

    @OTF Catastrophe
    I honestly have no idea what could be the problem right now, the only thing I can think of is what server are you running? Your server log looks a little weird, your one looks like this:
    Code:text
    1. 23.08 05:47:37 [Server] INFO Enabling KingOfTheLadder v1.0
    while mine looks like this:
    Code:text
    1. [18:24:09] [Server thread/INFO]: [KingOfTheLadder] Enabling KingOfTheLadder v1.0
     
  23. Offline

    OTF Catastrophe

    Would you possibly want to come on the server and see how I configured the plugin? I'm not entirely sure why it doesnt work either. ;p
     
  24. Offline

    AlvinB

  25. Offline

    OTF Catastrophe

    Let me know when you're available and I'll DM you the ip! ^-^
     
  26. Offline

    AlvinB

  27. Offline

    OTF Catastrophe

    Thank you again for the amazing KOTL plugin, works amazing! ^-^ Will you be posting the finished version on Dev Bukkit soon?
     
  28. Offline

    AlvinB

    @OTF Catastrophe
    I'll do that, but there are some features I want to add first.
     
Thread Status:
Not open for further replies.

Share This Page