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

    Build number? What permissions system are you using, Is there any errors on the server console? I am getting sick and tired of having to say this to most posts, from now on any post that does not give me enough information will not be replied to.
     
  3. Offline

    ben1996123

    Very nice, you should try and add iConomy support so the losers have to pay the winner some amount of coins :)
     
  4. Offline

    niccholaspage

    Already done in the not released 0.4. It works like this:
    Code:
    /spleef creategame name arena moneytowager(optional)
    If the moneytowager argument is there, everyone who joins must pay that amount. After the game is over, the winner will win all the money. 0.4 currently supports iConomy & BOSEconomy.

    0.4 will come out soon!
     
  5. Offline

    Tim Visee

    Hello,

    I've two layers, I've selected the first and the seccond point of the Spleef field, (top left on the first layer and the bottom right on the seccond layer), I created an area and i started a game, me and my friend have joined the game and where typing ready, the game starts, but when someone falled from the seccond layer the game wouldn't stop, nSpleef doesn't say that anybody winned. How to solve this problem?

    Sorry, my English is not so good, I'm Dutch...
     
  6. Offline

    ben1996123

    Er... Just tried my first game actually and nothing happened when someone lost...
     
  7. Offline

    niccholaspage

    Did it say that they were out?
     
  8. Offline

    ben1996123

    No, nothing happened.
     
  9. Offline

    Devian50

    LOL dude when you closed the server my mc crashed! :p well cant wait for 0.4 to be out! Peace!

    OH I have a request! You said that the state that 0.4 is in is most likely a release state... well with the rewards and betting I would assume it would be quite simple to output text saying what the bet is and what the prize is! just a suggestion!

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

    PatrickFreed

    I changed the name of the world, so it screwed with the arenas.txt. All fixed now :D
     
  11. Offline

    Ryan_T15

    Same thing happened to me.. It was going good till someone fell out. then it did nothing...
     
  12. Offline

    niccholaspage

    Did it say they got out? Like, name is out! Or did it just do nothing?
     
  13. Offline

    Tracber

    I recently set up a private server (bukkit v617) to mess around on and was planning on having a couple friends come try this nSpleef plugin (version 0.3.1), but for some reason they couldn't use any of the /spleef commands, including list, creategame, and join. I have the Permissions (v2.5.5) set up correctly (I tried 'nSpleef.member.*', and when that didn't work, I did each individual one (like 'nSpleef.member.creategame', etc.)). All the other Permissions I have set up for the group they were in (Visitor) for other plugins were working fine.

    Also, I removed myself from the ops.txt and made myself the same rank they were (Visitor) in the Permissions config and tried to see if I could get it to work, and it does. I tried my admin commands to make sure I wasn't admin in any way, and I wasn't. I wanted to make sure I wasn't an admin at all to make sure the plugin worked for the Visitor group, but why was the nSpleef plugin working for me in this group and not the other folks?

    In a nutshell, as a member of this Visitor group I had set up (which is basically the default group Permissions gives you, just renamed), my friends weren't able to use nSpleef commands, but I was when I changed myself to Visitor. Any help I can get would be... well, helpful!
     
  14. Offline

    Tim Visee

    No, nothing happend... even nothing happend with the playing feeld, it will only reset if everybody leave the game...
     
  15. Offline

    arctanis

    Is it possible to define a circular arena? the video implies as does the define method, where you have 1 start and 2 end, that you must have a box. If the mod does not support any other shape but a square, is it planned in the next release? I hope to be able to use this mod. I suppose worse comes to worse i can always re-design the "circle of doom" to the "BOX OF DOOM!" :p GREAT WORK! Looks like it is a great mod and your planned improvements with the next version are much anticipated by my fellow spleefers and myself! SPLEEF!!!!
     
  16. Offline

    timmaeh

    What i say, round arenas would be nice.
     
  17. Offline

    niccholaspage

    I don't know, but I did update the Permissions version nSpleef hooks into to 2.5.5, so this might be fixed in 0.4.
    It seems like I messed something in selection code, but I just tested it in 0.4 and it worked fine, so I might of screwed something up with 0.3.1.
    Will look into this sometime.
     
  18. Offline

    Ryan_T15

    Absolutely nothing.
     
  19. Offline

    BFC_Mike

    I seem to be getting this error upon startup.

    [SEVERE] null loading nSpleef v0.3.1 (Is it up to date?)
    java.lang.NullPointerException
    at org.bukkit.Location.getBlock(Location.java:73)
    at com.niccholaspage.nSpleef.Data.setupArrays(Data.java:23)
    at com.niccholaspage.nSpleef.nSpleef.onEnable(nSpleef.java:181)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:514)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:264)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:196)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:225)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:391)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)

    Any other info you need just let me know.
     
  20. Offline

    MeinerHosen

    I LIKE THE PLUGIN. Very awesome and it helps my players enjoy the spleef arenas even more :)

    Btw, my server is:
    [​IMG]

    IP: 69.72.186.6

    Thanks again,

    Meiner
     
  21. Offline

    Pangamma

    awesome plugin, but you misspelled their.
    <.<

    I keep spawning looking towards a wall... Are there any tips that might help me set my spawning orientation? This mod is awesome. :) I'm going to have a blast using it on the server. Thanks for all your hard work.

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

    Dave Wright

    Just about to build my first arena for this, how does the auto-recreate work, can I build the whole arena out of anything and it will just rebuild it, or is stone for the arena walls/viewing area and spleef floor being wool easiest ?
     
  23. Offline

    Joshua Davis

  24. Offline

    Dave Wright

    Right abit of playing around and the biggest spleef arena I could build that works was 6x6, so ended up defining other areans, but in the same actual arena (which was 10x10), is this the correct limit, or is there something I am missing ?
     
  25. Offline

    niccholaspage

    Odd.. I think I've fixed arenas in the almost coming 0.4 but I do not know for sure.


    OK, now adding force ready and silent ready into nSpleef. I will look into kicking people if they don't say ready in a configurable amount of settings.
     
  26. Offline

    intheplace

    The Download link is broken
     
  27. Offline

    Retricide

    Works fine for me Version 0.3.1
     
  28. Offline

    niccholaspage

    OK, status update for 0.4:
    Everything seems working fine. I added in /spleef forceready & /spleef ready :) I will look into kicking people if they don't become ready after joining a game for a configurable amount of seconds.
     
  29. Offline

    Dave Wright

    Regarding the arena we did finally get an 11x11 arena working, but only when I clicked on corner for point one, and the oppposite floor corner for point two, is that how the area is defined ? I've watched the first video a number of times but maybe I'm missing something.

    Also is it possible to define a round arena ? or just squares

    Would it be possible to add a command into 0.4 to delete arena's ? would make playing around with them at the start much easier (would need a permissions node though I'd guess)
     
  30. Offline

    kahlilnc

    Can you add leaderboards and add iConomy support?
     
  31. Offline

    Cristof

    Some problem with persistent game... sometime not work.
     

Share This Page