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. 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

    crazacool

    Been waiting for this release for a long while now; looks incredible. Bravo, and I look forward to using this on my server.
     
  3. Thank you! I will add how to create games, delete games, and play games on a youtube video in a few hours.
    --- merged: Mar 3, 2011 12:25 AM ---
    Fixed HUGE arena bug :)
     
  4. Offline

    NEO

    This looks wonderful, Im going to test it out soon.

    This has definatly been a much loved missing feature on my server since the transition from hmod.
     
  5. Thank you! I'm uploading the video for games right now.
    --- merged: Mar 3, 2011 1:26 AM ---
    Video for games is up!
     
  6. Offline

    Deikkan

    Never heard of spleef until I saw this plugin. Going to have to give it a go now. [​IMG]
     
  7. Offline

    Uniltiranyu

    Nice, but i dont understand the different gamemodes
     
  8. There's only one game mode, spleef! Lol.
     
  9. Offline

    cjbh1996

    Hey, congrats for finally getting nSpleef to release form! This is gonna be super fun.

    Show Spoiler
    Sorry about shutting my server off while we were testing nSpleef and never got back to you... I'm an ass. Long story short: My computer got a virus.
     
  10. I forgive you.
     
    cjbh1996 likes this.
  11. Offline

    Uniltiranyu

    Requires alot of tuning,
    My Thoughts:
    • Player Spawns (like a spawn point for players 1,2,3,4
    • Easier commands
    • Cut Off Join (to stop players from joining - or when maxplayers is reached)
    • Autojoin on create
    • tp to original position on quit
    • A working countdown (i played by myself, it dosnt work properly)
     
  12. Offline

    TnT Retired Staff

  13. Done.
    --- merged: Mar 3, 2011 8:12 PM ---
    Countdown system works, you cannot play spleef by yourself. Auto join on create sounds good, easier commands, Maybe I can make them configurable. You shouldn't be able to join during a game. I'm going to implement teleporting to the previous position.
     
  14. Offline

    Uniltiranyu

    a player spawn would be great tho, because when i played it spawned me in POS1, itd be better to set player positions, so like i have player 1 in 1 corner (outside the feild) and player 2 on the opposite corner
     
  15. Could this also get iconomy support down the line? :D
     
  16. Offline

    Wanny

    Ahahah and my server was just creating a spleef arena! That will come handy :D
     
  17. Offline

    PanCakes

    493 is a failed build lol fail.
     
  18. Yes.
    --- merged: Mar 4, 2011 6:31 PM ---
    :)
    --- merged: Mar 4, 2011 6:32 PM ---
    Worked fine for me, what? And I just tested it on 493. I don't know if it works on a lower or higher build, you would need to try it.
     
  19. Seems to be working well on our server, thanks!

    We are running b440
     
  20. Offline

    kazeen

    493 works for me fine 440 no one could build
    tp issue is gone all my plugins run fine now
     
  21. Offline

    Manofzelego

    Hey I've dowloaded nSpleef on my server and when I tried to define points for my arena I got this error in my console. [​IMG]

    17:54:15 [SEVERE] Could not pass event BLOCK_RIGHTCLICKED to nSpleef
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    at com.niccholaspage.nSpleef.nSpleefBlockListener.onBlockRightClick(nSpl
    eefBlockListener.java:76)
    at org.bukkit.plugin.java.JavaPluginLoader$20.execute(JavaPluginLoader.j
    ava:222)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:480)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHa
    ndler
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:30)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 12 more
    17:54:15 [SEVERE] Could not pass event BLOCK_RIGHTCLICKED to nSpleef
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    at com.niccholaspage.nSpleef.nSpleefBlockListener.onBlockRightClick(nSpl
    eefBlockListener.java:76)
    at org.bukkit.plugin.java.JavaPluginLoader$20.execute(JavaPluginLoader.j
    ava:222)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:480)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    17:54:16 [SEVERE] Could not pass event BLOCK_DAMAGED to nSpleef
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    at com.niccholaspage.nSpleef.nSpleefBlockListener.onBlockDamage(nSpleefB
    lockListener.java:88)
    at org.bukkit.plugin.java.JavaPluginLoader$22.execute(JavaPluginLoader.j
    ava:232)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:357)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  22. Yay!
    --- merged: Mar 4, 2011 11:34 PM ---
    Things like that have been happening to me sometimes too. It has to do with Permissions and I'm pretty sure I can't fix it.
     
  23. Offline

    Wanny

    So we just tried it. However we don't like being ported back to the main /spawn after a match. Anyway to define a spawn only used for spleef plugin? It could be only a command that will bind the spleef respawn on the block that admin is standing on! You would make my day. ;)
     
  24. Maybe, but in the next version, nSpleef will teleport you back to the starting position after the game and allow you to type ready again and start another game.
     
  25. im runnin CB 493, and when i do /spleef define name it doesn't return anything (after selecting 2 corners with the bowl).
    In console, it does nothing but say that i tried command spleef define name
    As OP, it says i issued a server command (in the console), but neither actually did anything
     
  26. If both corners are on the same level, it will not let you define an arena. To do that, you need to select the second/first corner as a block UNDER the corner.
     
  27. ah... i've never used a spleef arena, and i'm tryin to test it out :)

    so far, i'm pretty lost >.>
     
  28. Search a YouTube video of how to make a spleef arena.
     
  29. Custom spawn and this is awesome!
     
  30. Ok... i managed to define the region, and start a game, but when the user falls through, the game doesn't end... is it because its only 1 deep?
     

Share This Page