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

    Samylots

    when i do /spleef leave to quit the game it don't work o.o
     
  3. Offline

    niccholaspage

    Build? Any errors in server console? I'm sick and tired of having to say this every time someone posts a problem :(
     
  4. Offline

    Samylots

    Oops.. my bad, i tried this command without saying '' ready '' It's work now !

    But, why i need to create again and again the game when i need to stop/start the server ?
     
  5. Offline

    niccholaspage

    Since it doesn't save games on reloading the server.
     
  6. Offline

    Sorce

    everytime i kill someone in the arena i set they go back to the spawn yet it says that their still in the game is their a fix for that?
     
  7. Offline

    Samylots

    Why it don't save the game ? :(
     
  8. Offline

    niccholaspage

    Kill someone in the arena? What? nSpleef keeps health set to 20 at all times for the players in games, how did you kill a player?
     
  9. Offline

    CoteRL

    This is great, but would be MUCH better if games were saved on reboot. I have my server reboot automatically every day and will hate to have to recreate the games each time.
     
  10. Offline

    Samylots

    Yeah... Why you can't save the game like the arena ?
     
  11. Offline

    niccholaspage

    Users can create games if they have nSpleef.member. I could save games but I don't understand the point since you can just create them again. I could save games but NOT the members and such.
     
  12. Offline

    Fyridor

    Could you, perhaps, make it so that players can win, or bet with iConomy cash? Would be an awesome addition to an iConomy based server, as a challenge to other players.

    Thanks,
    Fyridor
     
  13. Offline

    niccholaspage

    After I finish the bug fix release :)
     
    Fyridor likes this.
  14. Offline

    CoteRL

    Because I want to make it as easy to use for my members as possible. I only have to tell them (as well as put into /help) the one command to join the game. I don't really understand the need for a game as well as an arena. Just take the game part of out out of the equation, you make the arena and people join it to play.
     
  15. Offline

    Samylots

    ... It's because i don't want to see all players creating this game EVERYWHERE ! So can you allow to save the game to put it more easy for players on my server ? Please ! :D

    ( It's not juste this... i don't want to explain to ALL PLAYERS how to make a game ... -_-' It's too long when they have somes difficult why commands ! )
     
  16. Offline

    themagicalcake

    Please make it so pvp is disabled for you if your in a match
     
  17. Offline

    Nathan C

    Oh, yes! TRYING THIS NOW!
     
  18. Offline

    Fyridor

    Awesome. :D
    I don't know if you have heard, but there is this auto-update plugin that you can add to your server so it will automatically download updates (as either a .jar or .zip). I believe it's called CraftBukkitUpToDate. Perhaps you'd like to join the ''supported'' list there, as it is used by many players, including myself.
    Also; perhaps it's nice to create a downloadable .txt with commands and how to use them, in short, that you can place in the same folder as the .jar is in, but that won't do anything. That way we wouldn't have to check the commands here all the time, if you know what I mean.

    Sorry if I got a little bit carried away here, but as you reacted quite positively to my previous remark, I thought you'd appreciate the other stuff as well. If not, my apologies.

    Thanks,
    Fyridor.
     
  19. Offline

    Nathan C

    Ok, tried it out.

    Works great, just like it should on version 467.
    The only bug that I don't like, is that both players teleport to spawn after the game is over.

    Thanks a lot man, we have been waiting for this plugin to port forever!
     
  20. Offline

    niccholaspage

    After the bug fix release, I will change it so you teleport back to the arena again and can play another time.
    --- merged: Mar 7, 2011 8:08 PM ---
    Sounds good and easy to do. I need to install CraftBukkitUpToDate on my server! About the usage file, I'll think about it.
     
  21. Offline

    Fyridor

    Epic win. Thanks mate, looking forward to using your plugin! (Can't do that right now as I am still testing my server with general commands and such, takes a lot of time.)
     
  22. Offline

    CoteRL

    Suggestion: When defining an arena you can specify the max players for that arena. That way you can make different sized arenas that can have more or fewer players.
     
  23. Offline

    fugue2005

    can you add a maxplayers variable to games, so i can limit smaller arenas
     
  24. Offline

    niccholaspage

    Yes, I'm almost done with the bug fix release, only problem is I found a bug that I haven't been able to fix yet.
     
  25. Offline

    CoteRL

    Do you prefer comments/suggestions/bug stuff here or on github?

    I really like this plugin, and have already gotten quite a few games in with some friends on our server.
     
  26. Offline

    niccholaspage

    I really don't care, but github makes it easier to manage :)
     
  27. i'm runnin CB493, and for some reason, the spleef arena is missing random blocks when it regenerates/resets.. some blocks are put back, but some are left empty. It doesn't follow any pattern that i can see (and its not the spot from the game that just ended)
     
  28. Offline

    CoteRL

    Just wanted to formalize some suggestions/feature requests:
    -Remove the 'game' aspect. The admin creates an arena, then players /spleef join arenaname. You can't have more than one game per arena, so it's just another step that's not really needed.
    -Allow setting of max players for the arena during the arena creation command /spleef define arenaname [max players]. If not set, use the hardcoded (or configurable) default.
    -Add and allow the setting of a minimum required players for an arena.
    -iConomy support, be able to set monetary rewards for each arena.

    That's all I've got for now, love the plugin how it is now but would love it even more if some of these features were added.
     
  29. Offline

    Malicious

    I can't seem to start the countdown even though both players say "ready". Some kind of bug?
     
  30. Hey i know that you said not to say it doesn't work, but when i load up the .jar it works fine iget the folder, no errors but i try the commands and none work, does anyone have a solution?
     
  31. Offline

    niccholaspage

    Odd. Maybe the new update will fix this.
    I'm not answering this. If you read the first post, you would of clicked the link in big letters and could of given me all the information I need.
     

Share This Page