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. wasn't it going to be updated to 1.4.1 today?
     
  3. Offline

    niccholaspage

    You do realize it's STILL Sunday, right?

    Need to update to iConomy 5 for nSpleef, I think. Will also come on 0.4.1! :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 10, 2016
  4. hahaha. SOON? :DDDDD
    its just, spleef is amazing!
     
  5. Offline

    niccholaspage

    Currently testing. nSpleef 0.4.1 will be out soon!

    0.4.1. Enjoy.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 10, 2016
  6. :confused:
    time to *test*
     
  7. Offline

    niccholaspage

    You and your "testing" :)
     
  8. :DDD
    Anyway, works great. Every error i had(including the MV and WG error) is now gone. Great job!

    Back to spleefing...
     
  9. Offline

    Imm0rt41

    add a thing in the first post about what each thing in the config file means. would be really helpful.
     
  10. Offline

    seem

    So i search a "resetfield" command.
    Example: when I type "/spleef reset game" than is the field new.

    I need it because 4 players go in a courner an pick all the dirt an so no other player come to them
     
  11. Offline

    niccholaspage

    Will do.
    No. I'm getting other plans for this cheating though.
     
  12. Offline

    Imm0rt41

    ok, a few suggestions to make this better:

    i think you should make it so that an arena can have games playing at timed intervals, such as every 30 min a spleef game will start. it will end after a set time or when everyone has died. if no one showed up in the first place, then it will say that no one showed up and there won't be a game then.

    when making the arena, make it so that it can be set to automatically create the death area below, so that people wont have to carve it out themselves. such as you select the top corner, then the bottom corner, and it cuts out everything in the selected area except the top layer, then sets the bottom layer to lava or w/e.

    a spleef hub. an area that has portals to all the different spleef arenas you may have created. the portal will take you to a small platform on the edge of the arena, and you have to step into the arena to break any blocks. if you step out then your not in the game anymore, and can't break blocks. have the join command also tp you to that platform.

    allow for editing of what is used for the wand to define the corners. add to the config file "wand: ###". the number you insert becomes the new wand.
     
  13. Offline

    seem

    When will come this? it's bad at the moment.
     
  14. Offline

    CoolOppo

    Request:
    No countdown.
     
  15. Offline

    dragonhippie

    Hello, im having trouble setting this up. I have seen the video's, But I'm too special and don't understand.
    i used the bowl to mark out the bottom of my arean were cactuses are and marked out the platform of snow i made as the floor. But i can do /spleef define <Name> and /spleef creategame <name of arean> <name of game>.
    but when i do /spleef join <name of game> it warps me into a random location and tells me to /ready?
    there i am sitting in middle of no-where....and its telling me to ready?
    im confused.
    to explain my problem a little better i have a few screenshots.

    [​IMG]

    [​IMG]

    [​IMG]

    thank you,
    Dragonhippie
    [​IMG]
     
  16. Offline

    YOUGOTWORKED

    are you going to make it compatible with permissions or essentials?
     
  17. Offline

    TuRmoiLxx

    Can you make it so that games will auto create them selves on a specific time? like every 15 minutes? I spleef games to only start every 15 minutes on the clock. I don't want users to create their own and my staff aren't always available to have to create games all the time.
     
  18. Offline

    niccholaspage

    It is, what are you talking about?
     
  19. Offline

    TuRmoiLxx

    I got a weird error when i do the command /spleef creategame gamehere arenahere 10/money amount.


    Code:
    06:27:38 [INFO] TuRmoiLxx used command "/spleef delete game game1"
    06:27:54 [INFO] TuRmoiLxx used command "/spleef deletegame game1"
    06:28:42 [INFO] TuRmoiLxx used command "/spleef creategame game1 MainArena 10"
    06:28:42 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'sple
    ef' in plugin nSpleef v0.4.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85
    )
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    55)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:677)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NoClassDefFoundError: com/iConomy/iConomy
    at com.niccholaspage.nSpleef.EconomyHandler.getCurrencyName(EconomyHandl
    er.java:71)
    at com.niccholaspage.nSpleef.commands.CreateGameCommand.onCommand(Create
    GameCommand.java:74)
    at com.niccholaspage.nSpleef.CommandHandler.onCommand(CommandHandler.jav
    a:38)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    06:28:48 [INFO] TuRmoiLxx used command "/speef list"
    06:28:48 [INFO] TuRmoiLxx issued server command: speef list
    06:28:53 [INFO] TuRmoiLxx used command "/spleef list"
    06:28:53 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'sple
    ef' in plugin nSpleef v0.4.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85
    )
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    55)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:677)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NoClassDefFoundError: com/iConomy/iConomy
    at com.niccholaspage.nSpleef.EconomyHandler.getCurrencyName(EconomyHandl
    er.java:71)
    at com.niccholaspage.nSpleef.commands.ListCommand.onCommand(ListCommand.
    java:32)
    at com.niccholaspage.nSpleef.CommandHandler.onCommand(CommandHandler.jav
    a:38)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
     
  20. Offline

    Mannan

    Will the latest version work with iConomy 4.65?
     
  21. Offline

    NopeDK

    You should create a command that is just "/spleef" and a "/spleef help"/"/spleef ?" all of which shows some standard help menu with the default commands with permissions support so only allowed actions is shown.
     
  22. Offline

    niccholaspage

    Yep. Ever since the command handler I made, this will be very easy and I will do this :)
     
  23. Offline

    NopeDK

    Hmm... My game didn't get removed when the game was done. I looked through the config and saw that persistent-games was false but when we were done (winner announced) I could still use /spleef join test even though it should have deleted the game after winner was announced or is it a must to use /spleef leave even after game has ended?
     
  24. Offline

    Mannan

    ^^. If it is then I will download this as I need it really badly, lol ^.^.
     
  25. Offline

    darkwarriors

    what version of iConomy need to add money reward?
     
  26. Offline

    Mannan

    Ok. In the config, what does each thing mean? Would be helpful if you put it in the main post =/.

    instantmine
    canplaceblocks
    persistentgames
    givemoneyonleave
    givemoneyondisconnect
    givemoneyonkick
    joinkickertime
     
  27. Offline

    NopeDK

    Could CommandSigns support be made? It just needs a <player> argument for all commands for it to work, doesn't matter where it is added. It also allows admins to join players without permissions to a spleef game.

    @Mannan
    Instantmine = Do blocks get destroyed by just leftclicking a short time (i.e first hit) or do you have to break them like normal hands (i.e 5 seconds for wood)
    canplaceblocks = May participants in the spleef game place blocks (i.e tnt or water or anything) to use to destroy or get yourself up again
    persistentgames = will the games still be able to join even after the game has been completed (i.e fixed games) (i believe this is buggy)
    Can't remember about the give*
    joinkickertime = how long time may the players be in a joined game before having to use /ready or "ready" to start (i.e kicking timer for people who join but never press ready (i.e blockers))

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

    niccholaspage

    Persistent games doesn't do that, it saves games on server reload and shutdown. I'll add in my own config section to explain them all.
     
  29. Offline

    NopeDK

    Sry 'bout that niccholas

    Then i got a question. Does games get "deleted" when it is done? So when a winner has been announced and all been tp'ed back, is the game still there or is it deleted?

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

    niccholaspage

    The game will still be there.
     
  31. Offline

    Mannan

    Thanks man.

    Anyone know the "give" ones?
     

Share This Page