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


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


    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!)

    • 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.*
    • /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)

    Admin Nodes (open)

    • 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:
    • (PatrickFreed's server)
    • (Sorce's server)
    • (Jonathan Bloom's server)
    • (Yep, the MC server list server runs my spleef plugin :))
    • (MeinerHosen's server)
    • (timmaeh's server)
    • (phoenixstar's server)
    • (Netto Hikari's server)
    • (Truecraft)
    • (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
    Report any errors and exactly what development build you are using if you get an error.

    Source Code

    • Fix for teleport issue
    • Fix for plugins getting disabled because of nSpleef
    • Grace period
    • 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)
    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


    I have no idea. I will look into this tomorrow. Does anyone else get the same error?
  3. Offline


    well, maybe this helps:

    the groupmanager stuff is loaded AFTER yours:

    2011-03-31 04:19:41 [INFO] Preparing start region
    2011-03-31 04:19:42 [SEVERE] Could not load plugins\nSpleef.jar in plugins: null
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(
        at net.minecraft.server.MinecraftServer.e(
        at net.minecraft.server.MinecraftServer.a(
        at net.minecraft.server.MinecraftServer.d(
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        ... 8 more
    Caused by: java.lang.VerifyError: class com.niccholaspage.nSpleef.nSpleefPlayerListener overrides final method onPlayerQuit.(Lorg/bukkit/event/player/PlayerEvent;)V
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at Source)
        at Source)
        at$000(Unknown Source)
        at$ Source)
        at Method)
        at Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at com.niccholaspage.nSpleef.nSpleef.<init>(
        ... 13 more
    2011-03-31 04:19:43 [INFO] Loaded Essentials build 2.1.8 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-03-31 04:19:43 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
    2011-03-31 04:19:43 [INFO] GroupManager version 1.0(alpha-5) is enabled!
    2011-03-31 04:19:43 [INFO] Fake Permissions version 2.5.1 is enabled!
    2011-03-31 04:19:43 [INFO] Loaded EssentialsSpawn build 2.1.8 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-03-31 04:19:43 [INFO] Done (0,135s)! For help, type "help" or "?"
  4. Offline


    I think that will help, Thank you!
  5. Offline


    Permissions loads first on mine, running CB 556 and I get on load:

    Show Spoiler

    23:18:47 [SEVERE] BLOCK_PLACE loading nSpleef v0.3.1 (Is it up to date?)
    java.lang.NoSuchFieldError: BLOCK_PLACE
            at com.niccholaspage.nSpleef.nSpleef.onEnable(
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(
            at net.minecraft.server.MinecraftServer.e(
            at net.minecraft.server.MinecraftServer.a(
            at net.minecraft.server.MinecraftServer.d(

    And on close:

    Show Spoiler
    23:21:23 [SEVERE] java.lang.NullPointerException
    23:21:23 [SEVERE]       at com.niccholaspage.nSpleef.nSpleef.onDisable(
    23:21:23 [SEVERE]       at
    23:21:23 [SEVERE]       at
    23:21:23 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.disablePlugin(
    23:21:23 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.disablePlugins(
    23:21:23 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.disablePlugins(
    23:21:23 [SEVERE]       at net.minecraft.server.MinecraftServer.g(
    23:21:23 [SEVERE]       at
    23:21:23 [SEVERE]       at

    Running Permissions 2.5.5
  6. Offline


    nSpleef 0.3.1 only supports 602. Download 0.3.
  7. Offline


    Okay now i tested again.. its working for me now :)
    Thank u alot!
  8. Well see... I am playing spleef, but my arena has a layer of bedrock, three layers of gravel and a layer of dirt for the ceiling (Which I dont want to rebuild) and the plugin is doing horrible things to the win/lose situation (you are supposed to fall 30 blocks if you lose) because it cancels the match after there is a loser. and the gravel was supposed to be a decent wall but with the quick break it gets eaten almost instantly.

    Do you know of an area backup plugin? I tried searching but they are all anti PvP plugins...
  9. Offline

    Kevin Forte

    Hello again :p
    So I randomly thought up a great way to integrate iConomy wagers using both mine and that other guy's ideas. What about adding an extra, optional argument to the creategame command?

    [] = necessary
    {} = optional
    /spleef creategame [gamename] [arenaname] {wageramount}
    (/spleef creategame blahgame blaharena 50)

    That way, when anyone joined the game, they were charged that much (50 in the example obviously) and it was added to some sort of pot. The winner of the game would receive all of the money in that pot.

    Allowing players to get their money back if they use /leave or quit the server during a match could be a true/false option in the config file: false would be like a penalty for their wussing out ;P
    On the /spleef list, a number in brackets/parenthesis would be added at the end of the name of a game that was wager-based, telling other players that the game was going to cost them.

    Is that possible?
  10. Offline


    Sounds good Kevin. I've been working on my server so much that I haven't gotten really far with nSpleef, but I'll be working on it a lot in the next few days.
  11. Offline

    Kevin Forte

    Take your time, I'm just throwing stuff out there xD
  12. Offline


  13. Offline


    I have no idea what to say now, holy...
  14. Offline


    hmmm... it all works fine but i cant define positions
    i've got permissions and did everything in the video..
    also im running bukkit 612
    oh and if i type help (for the command)
    there is the command spleef but in the
    description it's written null
  15. Offline


    Does the plugin give any errors on start?
  16. Offline


    nope not at all

    the problem is when i try to set the coordinate with the bowl:
    nothing is happening

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


    I think I know why. Try to give yourself nSpleef.admin and nSpleef.admin.* and see if it works. In the not yet released 0.4 I fixed this bug so you don't need to give yourself nSpleef.admin when it comes out. Sorry for the inconvenience.
  18. Offline


    I am the admin and person who created my spleef arena, but when I try and play in it, I get a message saying 'You cannot mine outside the spleef zone!" eventhough I am mining the floor in the spleef arena during a game. Same for everyone else playing
  19. Offline


    it works but when i set a point it says second point set but i didnt even set the first!
  20. Offline


    Heres what I'm getting on b617
  21. Offline


    Is there a newline at the end of arenas.txt? If not, I think it will error, but I don't know for sure.
  22. Offline


    Hey niccholas, we love this plugin. But if it wouldn't be too much trouble (it probably will but I'll ask anyway) I have 2 suggestions for you:

    If it were possible to have a silent option for "ready" for players on large servers, eg: /spleef ready or just /ready, that would be awesome. With the amount of chat already going on in one of our servers (32+ player avg with half playing spleef) following chat is next to impossible with everyone saying "ready" every 2 seconds.

    Also, a method to either list players who are ready (in order to weed out those that are not) or after N seconds after joining a game without getting ready have the plugin automatically remove them via /spleef leave. Some people join large games to troll by not getting ready or are clueless when they join. An automated broadcast-like "type (/readycommand)" message to each player could assist those joining the game for the first time if one isn't already there. Alternately, after N seconds anyone joining without leaving is effectively "trapped" and automatically ready to play.

    It would be most awesome if you could expand this plugin further as we're loving it. If you can't do either of those, then maybe allow spawning in the center of the selected arena surface in a future update would suffice as well :)
  23. Offline

    Kevin Forte

    32+ :O How in the hell!?
  24. Offline

    Joshua Davis

    to add to lech's comment we're running this on Deadmau5's server who has almost 3000 active players... so yeah 32+ players in spleef has been an issue for us.

    and as admin's being able to force a ready would be ideal.
  25. Offline


    See Josh's post above :)
  26. Offline


    Can i define round arenas too?
  27. Offline

    Kevin Forte

    How is that even possible!? xD
  28. Offline


  29. Offline


    Does it support multiverse?
  30. Offline


    Yes, it does support multiple worlds.
  31. Offline


    When I create a game, and then try to join, it tells me a game is already in progress, no matter how many games i make. Help?

Share This Page