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

    In the config file, change persistentgames to true. If that option doesn't exist, just delete your config.yml in plugins/nSpleef/ and reload the server for it to generate another one.
     
  3. Offline

    xZise

    But there are plans to adding a command?

    Fabian
     
  4. Offline

    niccholaspage

    Yes.
     
  5. Offline

    Casper85

    What about players pay to join a game, the winner gets this as the prize?
    example: game costs 50 coin to join and 2 people play the winner would get the 100 coin
     
  6. Offline

    niccholaspage

    Also sounds really good!
     
  7. Offline

    snatch182

    Exacly :)
     
  8. Offline

    xZise

    Hello, why is there a separated leave permission? I mean, a only join permission is kind of senseless or not?

    Fabian
     
  9. Offline

    niccholaspage

    If you don't have nSpleef.member.leave, you cannot do /spleef leave, yet you will leave on disconnect or game ending. What if someone has a championship and doesn't want anyone to leave? See?
     
  10. Offline

    Kevin Forte

    Alright, sorry for bothering you so often man xD but one last quick idea: is it possible for a little notification to come up when you and others are ready and how many players are ready total? Like "[yournamehere]/[theirnamehere] is ready! ([#ofreadyplayers]/[#ofnotreadyplayers])"
     
  11. Offline

    niccholaspage

    Yeah, it's possible and easy to do.
     
  12. Offline

    Curistofa

    Whenever I try to start my server I get this error with nspleef
    Code:
    11:41:02 [INFO] Starting minecraft server version Beta 1.3
    11:41:02 [INFO] Loading properties
    11:41:02 [INFO] Starting Minecraft server on *:25565
    11:41:02 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-544-
    g6c6c30a-b556jnks (MC: 1.3)
    11:41:02 [INFO] Preparing level "world"
    11:41:02 [INFO] Preparing start region
    11:41:03 [INFO] [nSpleef] Permissions not detected, disabling nSpleef.
    11:41:03 [SEVERE] null loading nSpleef v0.3 (Is it up to date?)
    java.lang.NullPointerException
            at com.niccholaspage.nSpleef.nSpleef.onDisable(nSpleef.java:68)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:120)
            at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoade
    r.java:465)
            at com.niccholaspage.nSpleef.nSpleef.setupPermissions(nSpleef.java:146)
            at com.niccholaspage.nSpleef.nSpleef.onEnable(nSpleef.java:171)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:451)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:217)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    11:41:03 [INFO] Done (0.090s)! For help, type "help" or "?"
    >
    I have the latest version of nSpleef and Bukkit.
    Can anyone help? I want to play it so bad!
     
  13. Offline

    niccholaspage

    Please read before posting.. As you can see on the 8th line, Permissions wasn't detected so nSpleef tried to disable itself (and failed). You need to install Permissions/GroupManager before installing nSpleef.
     
  14. Offline

    Curistofa

    Sorry about that, I just started using bukkit and I was unsure about what it was talking about with permissions. But I've installed groupmanager and it's working fine now. Thanks for the help.
     
  15. Offline

    niccholaspage

    Your welcome!
     
  16. Offline

    wankerpants

    Is there a limit set to the size you can make arenas/games. I tried setting up a larger sized arena for a good multi person spleef battle royale and it only used about half of what I set for the arena size.
     
  17. Offline

    PatrickFreed

    Found a small typo. :p
    A video of our giant spleef arena is coming soon
     
  18. Can you add an option to disable the fast block destroy?

    Or make it so you can start and stop a game without setting players?

    All I want is to be able to reset the arena when I am done with the match....
     
  19. Offline

    niccholaspage

    What? This is a spleef plugin, not backups for areas.
     
  20. Offline

    snatch182

    Hi there, how its going with 0.4 version? this /spawn comand durning game is killing me :D

    gz.
     
  21. Offline

    Critta

    Having a bit of a problem getting nSpleef to work on a multiplay hosted server, as such I am running nSpleef 0.2 rather than the 0.3 build posted here, as we don't seem to have access to 0.3 yet.
    2011-03-30 00:23:15 [INFO] nSpleef version 0.2 is enabled!

    CraftBukkit verison seems to be 544.

    I can access all nSpleef commands myself (presumably either through being an op or through the '*' groupmanger command

    I have assigned the permission nSpleef.member.* to my users, however, they don't seem to be able to run any of the nSpleef commands, on attempting to run the command, absolutely nothing happens. I have defined arenas and games, just can't get the players in to test it as they cannot come join them.

    Am I just being stupid? I know this is likely to be a problem with either my config or something, but though it worth asking here just in case there was something I'd missed or the permission nodes have changed since 0.2.
     
  22. Offline

    niccholaspage

    The nodes got changed in 0.3. In 0.2 and lower, they were nSpleef.member & nSpleef.admin.

    ALSO: I finished support for the new RB, I will release after testing it some more.
     
  23. Offline

    Critta

    Thanks for the blindingly fast reply - I will try this out tonight when I get home. I must have just given up and gone to bed as you replied last night :D Will see if I have any more feedback once I get this working.

    First thing I've noticed just from reading stuff is that one feature we use on our spleef arenas, namely dirt blocks in the walls with water source blocks behind them which can be knocked out to spill water on the board and push people into holes is not supported (nor would I expect it to be!) - any chance of some support for an admin to add specific blocks to a named arena to allow us to continue to use this?
     
  24. Offline

    niccholaspage

    0.3.1 out! Only new thing is RB 602 support.
     
  25. Offline

    BangL

    0.3.1 is not working fo me:

    Code:
    2011-03-31 03:14:03 [SEVERE] Could not load plugins\nSpleef.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:102)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:158)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:106)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:62)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    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)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:98)
        ... 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 java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        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:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at com.niccholaspage.nSpleef.nSpleef.<init>(nSpleef.java:36)
        ... 13 more
     
  26. Offline

    niccholaspage

    Oh man, I failed miserably. Sorry, will fix!

    Re uploaded 0.3.1, should work now.

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

    BangL

    Well... i redownloaded now, and got the same errormsg again^^
     
  28. Offline

    niccholaspage

    What build are you using?
     
  29. Offline

    BangL

    CB#602 (git-Bukkit-0.0.0-605-g376d7e8-b602jnks)
     
  30. Offline

    niccholaspage

    What Permissions/GroupManager version?
     
  31. Offline

    BangL

    The "GroupManager 1.0(alpha-5)" with "Fake Permissions 2.5.1"
    built in current Essentials-Pack (2.1.8)
     

Share This Page