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

    Andromedia13

    Any news on 0.4.1? This is the only plugin holding my server on 1.4 now.
     
  3. Offline

    niccholaspage

    0.4 is compatible with the newest RB, I haven't updated the post yet for it though.

    0.4.1 is not going to include thunder spleef sadly. Also, before I release 0.4.1, I would like to know this: If a player comes in contact with lava, should nSpleef count them out?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 10, 2016
  4. that would be a amazing feature :D

    EDIT:
    just make it configurable. or what if, it was configurable PER ARENA!
    one for beginners, one for experts ;)
     
  5. Offline

    clawdz18

    err how do i set starting points ... atm every one just starts on the same block and just make it real awakard
     
    AS1LV3RN1NJA likes this.
  6. Offline

    niccholaspage

    Custom start points will be in 0.5.
     
  7. Offline

    Thecakeguy

    Im using your plugin on my server and we love it!
    I have a question tho, do you have any plans to make it able to define a round arena? That would be awesome :)
     
  8. Offline

    patrickww

    I have a question.. i am using essential group manager .. does this program work with group manager .. cause everytime i try to remove permissons\config my server keeps putting it back in saying its required for nspleef. anyone help plz.
     
  9. Offline

    Balrog

    Hi there, we're having an issue on loading the Plugin, using a spleef arena in a different "multiverse" world.
    nSpleef is loading before multiverse (and "spleef" world) - so it does not find the world -->error.

    Our community shall not be allowed using spleef games to easy exchange items. That's why we're trying to use own spleef world with spleef permissions ;)

    I'd like to see you find any solution for those Problems ;)

    btw.: Thanks for this cool plugin
     
  10. Offline

    niccholaspage

    Will be fixed in 0.4.1.
     
  11. any news on new update?
     
  12. Offline

    niccholaspage

    Probably coming out after I somehow fix the above problem with worlds.
     
  13. Offline

    patrickww

    @niccholaspage - does nspleef need permissions or can it use group manager and if not is it something that could be added in a future update?

    Great mod .. Thanks.
     
  14. Offline

    Balrog

    thanks alot ;-)
     
  15. Offline

    CDJ445544

    u know what would be really cool (but really hard to do)? make an autoplayer system so u can play singleplayer against the computer
     
  16. just a fyi, it no longer works on CB 740 or 755.
    I can give you the error if you are not aware of it
     
  17. Offline

    niccholaspage

    You should of given out the error in your post already. I'm guessing your talking about the moving to quickly message.

    I think I fixed the problem with nSpleef not being able to load up arenas if the world is not loaded, I need to test it though.

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

    ppp

    Any chance of having an option after X seconds/minutes, it converts the floor material to locked chest (ID 95) as they will melt each other and have a dynamically disappearing floor. Handy for the people who run to a corner and just break away the blocks near by so no one can get to them or for multi floor arenas where the person left on top of the first floor doesn't jump down.
     
  19. nope, sorry :p
    let me get it from the log
    Code:
    [SEVERE] null loading nSpleef v0.4 (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:177)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    off a fresh restart
    EDIT:
    this may have to do with iConomy 5?

    anything for that error?

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

    niccholaspage

    Any chance you are using a multiworld plugin and an arena is not in your main world?
     
  21. yes, it is actually.
    im assuming that's the error you were talking about?
    :D

    do you think it worked? you need a IRC :p

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

    niccholaspage

    I think I got it working, so I'll probably release 0.4.1 in a few days.
     
  23. Offline

    Galaxy

    @niccholaspage

    When are you going to update this?


    EDIT: aww sorry just saw your post <3 and btw I love the hard work you put into this
     
  24. Offline

    niccholaspage

    Not tomorrow, but maybe Sunday. :)
     
  25. Offline

    badbh222

    Will the 'Game's being deleted when one person joins and leaves the game or gets autokicked' "Feature" be fixed in the next version.

    Also, this error message shows up in the console after someone leaves a game on their own, doesn't happen when a normal game finishes or even when a player gets autokicked for some reason.

    Code:
    2011-05-07 06:56:44 [SEVERE] Exception in thread "Thread-10"
    2011-05-07 06:56:44 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: -1
    2011-05-07 06:56:44 [SEVERE]     at java.util.ArrayList.elementData(ArrayList.java:338)
    2011-05-07 06:56:44 [SEVERE]     at java.util.ArrayList.get(ArrayList.java:351)
    2011-05-07 06:56:44 [SEVERE]     at com.niccholaspage.nSpleef.nSpleefArena$2.run(nSpleefArena.java:146)
    2011-05-07 06:56:44 [SEVERE]     at java.lang.Thread.run(Thread.java:636)
     
  26. Offline

    Bleck100

    • 1 i wanna know how to make your self Admn
    • 2 i love SPLEEF
    • 3 I SO NEED THIS PLUGIN
    • 4 I LOVE THE PLUGIN KEPP IT UP
     
  27. Offline

    niccholaspage

    The feature that deletes the games with /spleef leave is fixed in 0.4.1. Also, I'll fix that bug.

    Just want to say I fixed this in 0.4.1 and since everything for 0.4.1 is ready, I'll release it tomorrow.

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

    badbh222

    Excellent! Awesome Plugin, thanks. :D
     
  29. Offline

    AntonyDream

    Hi there! Thanks for working spleef plugin!
    Some suggestions:
    1. add game price to games list, anf game reward message on join, so players be informed what are they figthing for ^^
    2. it'll be veeeery nice if players can stay joined after end of the game
    3. track players fall off the arena edge
    4. something like different spawn points on arena for join (now all new players spawns at one corner)
    5. scores and leaderboard
     
  30. Offline

    fatmarley

    I just set up your mod, and have had a few great games, but I am having issues connecting it with iConomy.

    Without gambling it works fine, but with I get this error.

    Code:
    2011-05-08 08:20:25 [INFO] spleef join LavaFall
    2011-05-08 08:20:25 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'spleef' in plugin nSpleef v0.4
        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:255)
        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/nijiko/coelho/iConomy/iConomy
        at com.niccholaspage.nSpleef.EconomyHandler.getMoney(EconomyHandler.java:54)
        at com.niccholaspage.nSpleef.commands.JoinCommand.onCommand(JoinCommand.java:50)
        at com.niccholaspage.nSpleef.CommandHandler.onCommand(CommandHandler.java:38)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
     

Share This Page