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

    Next version won't need Permissions or GroupManager. If they aren't found, nSpleef will allow OPs to make arenas and everyone to play.
     
  3. Offline

    fugue2005

    how do you delete an arena?

    nevermind

    READING FTW!!!!
     
  4. Offline

    Daarkshield

    Hi.

    We are currently trying to run nSpleef with Bukkit version 499 and Permissions 2.5.2 along with Craftbook - when using the bowl to define an arena everything seems to work fine at first sight - but when trying to define the second point it says "First point set." again. Any idea what we are doing wrong?
     
  5. Offline

    fugue2005

    rt click, left click?
    left is point 1, right is point 2
    --- merged: Mar 5, 2011 9:07 PM ---
    ok, how does it know if someone is out, does the arena bottom need to be solid, or is it just a cuboid they pass out of?
     
  6. Offline

    Daarkshield

    Left click gives us point 1 - right click doesn't do anything. :/
     
  7. Offline

    niccholaspage

    It checks if the player's position is at the cuboid's lowest point.
     
  8. Offline

    natedogith1

    I think there should be a command to set where the player teleports to at the end of the game
     
  9. Offline

    niccholaspage

    I looked into the code and couldn't find anything that could cause that. Any errors in console?
    --- merged: Mar 5, 2011 10:04 PM ---
    In the next version its going to teleport you back to the same arena and allow you to type ready to play another game.
     
  10. Offline

    Daarkshield

    Thanks for the reply. :)
    The consoles gives quite a few errors too many to really search through them.
    But somehow the wooden axe seems to do the job for us. :D

    Edit: The axe seems to give messages related to nSpleef - but still doesn't do the job - neither the wood cutting nor the arena building one.
     
  11. Offline

    niccholaspage

    The axe you are talking about is the WorldEdit selection tool. I made a mistake and Permissions does not take effect with setting the first position. (Will fix) What this means is you do not have the nSpleef.admin node. If you do, I have NO IDEA why you cannot select points.
     
  12. Offline

    fugue2005

    this would be perfect if it gave cash rewards

    and if it could broadcast the results to spectators it would be great
     
  13. Offline

    tinman346

    When the people hit the floor it doesnt say they're out, and it never fixes the arena.
    --- merged: Mar 6, 2011 2:25 AM ---
    i found a problem, when you hit the ground from a height you would die from your stuff duplicates on the ground
     
  14. Offline

    niccholaspage

    Hmm... I'll fix that later.
     
  15. Offline

    PatrickFreed

    Can you remove the "You can't mine outside the arena" thing? Sometimes its easy to click too many times and it clears out the chat.
    Oh and btw, I got an admin to start making either a 50x50 arena or a 100x100 arena. It's going to be huge either way. [​IMG]
     
  16. Offline

    niccholaspage

    Next version is taking that out. It will only take effect on breaking the block.
     
  17. Offline

    Andre_9796

    is this working for build 432?
     
  18. Offline

    niccholaspage

    I have no idea. xD
     
  19. Offline

    Andre_9796

    Okay i'll test it.
     
  20. Offline

    bradcland

    I can define points but it won't create the arena.

    console say " bradcland issued server command: spleef define SpleefArena"
     
  21. Offline

    Andre_9796

    It works perfect on build 432. Thank you for this great plugin.
     
  22. Offline

    niccholaspage

    Odd. Try lowercase, If it works then I'm an idiot xD.
    Your welcome!
     
  23. Offline

    tinman346

  24. Offline

    bradcland

    Still nothing, Maybe WorldEdit/WorldGuard mess with it? I'm using the lastest recommended build.
     
  25. Offline

    niccholaspage

    Any errors in console? Are you using a bowl? WorldEdit's axe WILL NOT work.
     
  26. Offline

    bradcland

    I am using a bowl. I don't see any errors but I'll look for them again in the morning.
     
  27. Offline

    tinman346

  28. Offline

    niccholaspage

  29. Offline

    Sorce

    siegecraft.no-ip.info

    my server
     
  30. i can't seem to define an arena, i use the bowl, choose 2 blocks at each side of the arean, write /spleef define Sky (ex.)
    and it doesn't do nothing, i get no messege...
     
  31. Offline

    niccholaspage

    You do not make arenas like that. You choose one of the points as all the way down at the bottom of the arena. Check the youtube video. The next version will show a message so you know.
    :)
     

Share This Page