Inactive [FUN] nSpleef 0.4.3 - The first spleef plugin for CB! [1337]

Discussion in 'Inactive/Unsupported Plugins' started by niccholaspage, Mar 2, 2011.

  1. Offline

    niccholaspage

    nSpleef - The spleef plugin:
    Version: v0.4.3 - CB 1337


    BEFORE SAYING ITS NOT WORKING READ THIS

    nSpleef is a spleef plugin I've been working on for a while. After weeks, I finally finished it.

    How to setup arenas: (Use a bowl to select points)



    How to create, join, leave, and delete games: (Because we all know the commands section below isn't enough!)



    Features:
    • Countdown system
    • Restoring arenas
    • Multiple game & arena support
    • Multiple floor support
    • Ready system
    • Knows when people win and lose.
    • On winning, the plugin will tell everyone who won.
    • On losing, the plugin will tell everyone "username is out!"
    • When the game is over, everyone will get teleported to there old location.
    • iConomy, BOSEconomy & EssentialsEconomy support! At the end of each game, if the money argument was entered in creategame, the winner will win how much money entered in times the number of players (For EX, if 2 players are playing and both gave up 5 coins, the winner will get 10 at the end)
    • If set in the config, a player can get kicked out of a game of they don't type ready for a configurable amount of seconds.
    • Permissions/GroupManager support. If not found, nSpleef will allow OPs to use nSpleef.admin.* and everyone to use nSpleef.member.*
    Commands:
    • /spleef define arena - Defines arena, check video above
    • /spleef deletearena arena - Deletes arena
    • /spleef creategame game arena <money> - Creates a game. First argument is the game name you want, second argument is what arena it should be on. Third argument is how much money is required to join the game. Must have nSpleef.member.wager to create a game with the money argument.
    • /spleef deletegame game - Deletes the game. If you did not make the game you cannot delete it. If you have nSpleef.admin.deleteanygame, you can delete any game.
    • /spleef join game - Join a game.
    • /spleef leave - Leave the game you are currently in.
    • /spleef list - Lists all the arenas and games.
    • /spleef ready (or /ready) - Silent command for ready
    • /spleef forceready - Forces the game to start
    • /spleef forcejoin player arena - Makes a player join an arena
    • /spleef forceleave player - Forces a player to leave
    • /spleef help <page> or /spleef ? <page> - Help. Each page shows 9 commands.
    Permission Nodes:
    Member Nodes (open)
    nSpleef.member.creategame
    nSpleef.member.deletegame
    nSpleef.member.join
    nSpleef.member.leave
    nSpleef.member.list
    nSpleef.member.wager

    Admin Nodes (open)
    nSpleef.admin.define
    nSpleef.admin.deleteanygame
    nSpleef.admin.deletearena
    nSpleef.admin.forceready
    nSpleef.admin.forcejoin
    nSpleef.admin.forceleave


    Configuration:
    • instantmine - If true, blocks will be instantly mined.
    • canplaceblocks - If true, the player can place blocks during the game.
    • persistentgames - If true, games will be saved when nSpleef gets disabled so they get loaded on enable
    • (The three below only apply if the game had the money argument entered)
    • givemoneyonleave - If true and the player uses /spleef leave and is in a game their money given back
    • givemoneyondisconnect - If true and the player disconnects while in a game, their money will be given back
    • givemoneyonkick - If true and the player gets kicked from the join kicker, their money will be given back
    • joinkickertime - If this is not 0, then if someone joins a game and doesn't type ready by however much seconds the kicker time is set to, they will get kicked.
    Servers using nSpleef:
    • freedsuniverse.dyndns-server.com (PatrickFreed's server)
    • siegecraft.no-ip.info (Sorce's server)
    • minecraft.tniwwt.net (Jonathan Bloom's server)
    • mc.mcserverlist.net (Yep, the MC server list server runs my spleef plugin :))
    • 199.115.230.7 (MeinerHosen's server)
    • server.epiccraft.net (timmaeh's server)
    • http://mine-empire.com/
    • 71.254.151.28 (phoenixstar's server)
    • ever-craft.de (Netto Hikari's server)
    • http://www.theminecraftserver.tk/
    • 66.181.16.36 (Truecraft)
    • mc.sti4n.com (Sti4Ns Minecraft)
    • If you would like your server listed above, PM me or post with your server IP.
    Download nSpleef (0.4.3)
    Would you like to test a development build? Download the latest build from http://ci.craftfire.com/view/niccholaspage/job/nSpleef/
    Report any errors and exactly what development build you are using if you get an error.

    Source Code

    0.4.3
    • Fix for teleport issue
    • Fix for plugins getting disabled because of nSpleef
    • Grace period
    0.4.2
    • Fix for the game has not started message if instantmine is off
    • /spleef will now show the version number and author :p
    • /spleef ? and /spleef help
    • Fix with duplicate countdowns with forceready
    • All nodes not written will be written to the config without the config having to get deleted
    • /spleef forceleave player
    • /spleef forcejoin player
    • When nSpleef announces the winner, the purple text after their name will still show as purple instead of white
    • Replaced MineConomy support with Essentials Economy
    • Support for decimals for money
    • Finished recoding things for better performance :p
    Changelog (open)
    Changelog:
    Version 0.4.1
    • Damage is now cancelled in a better way, no more annoying noises or dying if you fall at a distance enough to kill you
    • MineConomy support
    • List command shows cost
    • iConomy 5 support (NOTE: You CANNOT use iConomy 4 with this build!)
    • Fixed join kicker thread error message
    • Fixed /ready not working
    • Fixed moving too quickly message
    • Arenas load up after all worlds load up, which will fix problems with MultiVerse
    • Games do not get deleted when the last person uses /spleef leave
    • Recoded almost everything for better performance
    Version 0.4
    • Wagering! iConomy & BOSEconomy support
    • Force ready (/spleef forceready)
    • Silent ready (/spleef ready or /ready)
    • Join kicker. Configurable amount of seconds of when to kick people after they join if they don't type ready.
    • Fixes a bug where you could place blocks even if canplaceblocks was true while being out.
    • If no permissions system is installed, nSpleef will allow all OPs to use nSpleef.admin.* and all members to use nSpleef.member.*
    • deletearena command!
    • Attempt to stop mobs from spawning in arenas. Not tested, should work though.
    Version 0.3.1
    • Support for RB 602
    Version 0.3

    • Finally uses onCommand
    • nSpleef actually gets disabled if Permissions/GroupManager isn't found
    • Teleports you to where you where before doing /spleef join after a game
    • Persistent games! (A config option)
    • More specific Permissions nodes
    • On server reload or disable, nSpleef will restore arenas that where hosting a game and teleport players back to there location before /spleef join if they were in a game.
    Version 0.2

    • Fixed unknown command for OP
    • Fixed breaking blocks when the game hasn't started
    • Fix for when players disconnect
    Version 0.1.5

    • Fixed mining blocks out of a spleef zone
    • Fixed Permissions not taking in affect for the first point
    • Fixed a bug where players would not teleport out
    • Shows message when both blocks are on the same level
    Version 0.1.2

    • Fixed ready bug (Typing ready during a countdown would start another countdown xD)
    Version 0.1.1

    • Fixed arenas bug
    Version 0.1

    • Initial Release
     
    Max1998, wassilij, dr_brule and 7 others like this.
  2. Offline

    niccholaspage

    Yeah.
     
  3. Offline

    rmb938

    Mine Empire uses nSpleef IP in sig
     
  4. Offline

    niccholaspage

    Added!
     
  5. Offline

    mrossim

    can i be get shout out for idea?
     
  6. Offline

    niccholaspage

    Well, this was already planned for .5 before you made your post.
     
  7. Offline

    sukosevato

    Could you add team support?

    for example:

    /spleef join gamename red
    /spleef join gamename blue

    And upon doing that you get a red or blue skin so you can easily see on what team the other person is.

    Would be nice to be able to fight in teams. (we have a big big big arena 81 x 57)
    Would be cool you could add that.

    That and custom spawn points and this plugin would be the best! Like it so far though.
     
  8. Offline

    niccholaspage

    Custom spawn points coming. Changing skins is NOT possible. What I have thought of is if you are playing with teams, the block below each player will be colored for their team color. Then, nSpleef will detect if the block is the same one you have for your team so it would not let you destroy it. Sounds good?
     
  9. Offline

    sukosevato

    That indeed does sound good. Then you can't kill the other player.

    The only thing that needs to be done then is a way to recognize your team members (other then finding out after trying to kill them).

    Is there a way like, players being given armor when a match starts? Based on the team they joined?

    Like giving 1 team diamond armour and the other none? That way you can still easily see what team somebody is on.
    I understand changing skins isn't possible (could have known that my self already), since it is something you can only change your self. But giving people items at the start of a game should be possible.

    Let me link you to a plugin (also a game) where players spawn with items in their inventory when the game starts. (maybe you can steal part of its code)

    http://forums.bukkit.org/threads/fu...-build-attack-defend-group-pvp-game-670.9832/

    Here you get resources to fortify your self during the initial phase of the game. Could something like that be implemented?

    Would be absolutely awesome!

    Thank you for taking your time to read and answer my reply and developing this plugin.

    Keep up the good work!
     
  10. Offline

    niccholaspage

    nSpleef should block all attempts of damage. In the upcoming 0.5, I blocked it in a better way, but it already is blocked in 0.4. I think the armor idea does sound good, now for the way to create & join teams. :p

    :O Idea. How about wool heads? Cool and looks awesome.

    Currently working on 0.5 teams. I've gotten creating & saving done. Now all I need is the actual joining of teams and deleting teams. After this, I'll work on the custom join locations, but I need input on them first. Do you guys want only 1 location for each join? Or multiple? For example, one player goes to the first location, the second goes to the second one.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 10, 2016
  11. Offline

    Kartus

    Suggestion for "skins": Make it like FortressAssault 1.2.4 with armor. probably just only helmet instead of full armorequipment. how i see in fortressassault armor is only optical, not absorbing damage and armor is taken from players inventory when leaving game.
     
  12. Offline

    GmK

    Wonderful plugin! Runs smoothly (except some minor hiccups with persistent games)

    We have a server with a few arenas for spleef, for one week only. No mining or building, only spleef, and only this one week. The person with the most points at the end of the week will get a Humble Indie Bundle ;) smp.blocktopia.net

    I spoke too soon!

    The moment we have too many people in a game, the server crashes HARD :/

    It starts with this when people join

    Code:
    16:06:12 [SEVERE] Exception in thread "Thread-336"
    16:06:12 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: -1
    16:06:12 [SEVERE]       at java.util.ArrayList.elementData(ArrayList.java:371)
    16:06:12 [SEVERE]       at java.util.ArrayList.get(ArrayList.java:384)
    16:06:12 [SEVERE]       at com.niccholaspage.nSpleef.nSpleefArena$2.run(nSpleefArena.java:146)
    16:06:12 [SEVERE]       at java.lang.Thread.run(Thread.java:732)
    
    And crashes with this immediately after (when the round starts)

    Code:
    16:06:47 [SEVERE] java.net.SocketException: Too many open files
    16:06:47 [SEVERE]       at java.net.PlainSocketImpl.socketAccept(Native Method)
    16:06:47 [SEVERE]       at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:379)
    16:06:47 [SEVERE]       at java.net.ServerSocket.implAccept(ServerSocket.java:522)
    16:06:47 [SEVERE]       at java.net.ServerSocket.accept(ServerSocket.java:490)
    16:06:47 [SEVERE]       at net.minecraft.server.NetworkAcceptThread.run(SourceFile:36)
    :(

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 10, 2016
  13. Offline

    niccholaspage

    Oh... Wow. Will look into this.
     
  14. Offline

    GmK

    Sorry, I should give more info, was too distraught:

    b677, CentOs 5.5, I run 2 other servers without troubles, plugin list of this server: CommandBook, HeroChat, iConomy, MCDocs, MyWarp, NoLeafDecay, nSpleef, Permissions, SignColours, TimeShift, WorldEdit, WorldGuard, WorldBorder, CakePort
     
  15. Offline

    sukosevato

    Wool heads would be perfect. Especially since you can color wool.

    That way you can give everyone a wool head by default but then like a blue wool head for 1 team and a red one for the other or something. Don't know if blue is possible though, yellow and red are.
     
  16. Offline

    Josh star

    Could you please make a command to reset the floor manually? some times it doesn't reset so a command or force command would be really helpful, Thanks!
     
  17. Offline

    niccholaspage

    It should reset by itself. More info please?
     
  18. is it possible to use this without iconomy or boseconomy support because we're using essentials economy
     
  19. Offline

    niccholaspage

    If it doesn't detect any economy plugin, you won't be able to use it in nSpleef. Will add Essentials Economy support for you though.
     
  20. oh that would be great when will it be finished? :DD
     
  21. Offline

    niccholaspage

    Whenever I finish 0.5.
     
  22. ok ;D hope thats soon hehe people on our server like to play spleef ;D

    could u also make it advertise /ready because people keep spamming the chat lol ;D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 10, 2016
  23. Offline

    DJ411

    I'm using nSpleef 0.3.1 and my server company takes for ever to update plugins but can i confirm from you that 0.3.1 games don't save? or do i have to change something cause every time the server restarts we have to create a new game.
     
  24. Offline

    Blabba

    I just tried installing this but during the game it does not restore the arena or detect when someone has won. There is water at the bottom of the pit if that matters. How does it detect is you have won?

    I managed to fix it, I made the arena just 2 layers when i tneeds to be 3

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 10, 2016
  25. Offline

    unenergizer

    Does this have support for a 4 person arena? Also if my arena is round, will that matter? Another thing, is landing in a lava pit available as the bottom layer of the arena?

    Thnx
     
  26. Offline

    phoenixstar

    this plugin is awesome! Can't wait for teams! keep up the good work!

    EDIT: server ip: 71.254.151.28

    :D
     
  27. Offline

    niccholaspage

    Thanks!
     
  28. Offline

    Stahlbrand

    Umm, there is a small bug, it seems sometime when you /ready its all good countdowns right away, then sometimes nothing. No matter how you do it. Even with admin force ready. Seems like something that need an update.
     
  29. Offline

    clbrend

    Does it work work 1.5?
     
  30. Offline

    Netto Hikari

    Yes it does work fine on 707.

    Also, I would like to see my server in the server list. :) We're enjoying nSpleef a lot.
     
  31. Offline

    niccholaspage

    Yes.
    In the config file, change persistentgames from false to true.
    You can only select a square selection, so some of the parts of the arena wouldn't be able to be spleefed on. Also, you would need /god but as long as you select the second point right under the lava, it should work fine.
    Yeah, I think I've experienced this before.
    Will do :)
     
    unenergizer likes this.

Share This Page