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

    kahlilnc

    Needs iConomy support or bidding on games.
     
    Kevin Forte likes this.
  3. Offline

    snatch182

    Ok, so things to do imo:

    - Allow normal players to use /join and /leave commands only
    - After /join and before match end players can use only one command /leave
    - What about player who /join and than disconnect from game?
    - What about info to admins about match winner (need durning championships)
    - What about auto prize for winners customizable in plugin config file or even better by command /setprize

    Please make those and let me know when can I expect it to download and it will be nr. 1 at mine public server :D :D
     
  4. Offline

    Nathan C

    Oh god, yes!

    Can't wait till you release .3.
     
  5. Offline

    niccholaspage

    Check the post and scroll down to the bottom. Right above the change log has the current status of the unreleased 0.3.
    1. Programmed into 0.3
    2. Wha? I'm guessing this is exactly like 1
    3. Fixed in 0.2
    4. Maybe.
    5. iConomy support coming soon :)
    Thank you! 0.3 will be out either tomorrow or Saturday :)
     
  6. Offline

    snatch182

    Umm 1 and 2 it's not the same.
    - In 1 I mean permission for default players to use only /join and /leave without game creating, stoping etc.
    - In 2 i meant when they join game they can use only /leave and all other commands are blocked during game like /spawn /home etc.
    - About 5. I would like to set prizes in items like wool, diamonts, not coins at least...

    jupijej to tomorrow :D
     
  7. Offline

    niccholaspage

    2. I see. Will add into 0.3
    5. Will add in 0.4.
     
  8. Offline

    snatch182

    Fastest reply i ever seen :D

    GZ
     
  9. Offline

    niccholaspage

    :)
     
  10. Offline

    kahlilnc

    If there isn't you should a record system like when someone whens they add a when to there record and when the loser loses they gain a lose to there record. And the record keeps on stacking and there should be a record leaderboard for the server.
     
  11. Offline

    niccholaspage

    Will do in 0.4. I'm currently preparing 0.3 for release, having a big issue with it currently :(
     
  12. Offline

    kahlilnc

    Nice
     
  13. Offline

    Madmusk

    Any word on removing the Permissions/Group Manager requirement? I've been looking forward to using this plugin for ages but my server has no need for any of that stuff. Thanks!
     
  14. Offline

    niccholaspage

    Coming in 0.4.

    0.3! Enjoy!

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

    snatch182

  16. Offline

    niccholaspage

    Couldn't add in stopping players from using commands other than spleef commands. WIll look into it on 0.4.
     
  17. Offline

    snatch182

    ok I like those changes you made, and I will wait for 0.4, btw. so if they use /spawn or /home durning game they will remain in game or automatically loose?
     
  18. Offline

    niccholaspage

    They will remain in game. What I am thinking about of doing in 0.4 is if you are outside the arena, you will get teleported back in.
     
  19. Offline

    snatch182

    Loosing will be the best option, if it will teleport you back, someone can spam /spawn and this way wait till others finish themselfs
     
  20. Offline

    Kevin Forte

    This is fantastic! Is it possible for you to create a wager chest? Like, everyone puts stuff in a chest you define as the wager chest and the winner receives all contents of that chest?
     
  21. Offline

    niccholaspage

    So many good ideas coming from so many people! The system I think I will program in will be something like this:
    Lets say you create a game test and you want the prize for winning to be 10 diamonds. You would type in:
    Code:
    /spleef creategame test wood diamond 10
    As you can see, at the end, the last two parameters are diamond and 10, which would give you 10 diamond. I'm also looking into iConomy support too.
     
  22. Offline

    xZise

    Yep on my server they abuse your plugin to prevent dying :D

    Fabian
     
  23. Offline

    niccholaspage

    Ha. I'm thinking either that, or have them leave from the game :p
     
  24. Offline

    Kevin Forte

    The only problem I see with this is players defining their own rewards as Ridiculous things (200 Diamond) and letting eachother win to generate free items. Thanks for saying my idea was good though :p Also, a little bug I noticed and a question:

    Bug: My console is telling me all of the spleef commands are unknown, but they all still work fine.
    Question: How do you remove an arena?
     
  25. Offline

    niccholaspage

    Build number? Uh, more descriptive please? Remove an arena by deleting the line in plugin/nSpleef/arenas.txt that starts with the arena you are trying to remove. Remember to keep a new line at the end of it though. Players will not be able to define their own rewards, I'll have a node like nSpleef.admin.defineprizes or something.
     
  26. Offline

    Kevin Forte

    Agh, sorry. Build 544 I believe. And alright, that's what I was going to do anyways lol but I was wondering if there was a command for it or something, I don't know. And alright, that makes sense. It would be cool to have bets and item wagers as well though :)
     
  27. Offline

    niccholaspage

    Sadly, I can't do anything if it's older than 556. I just checked my console and it doesn't tell me the commands are unknown. I will try the items in chest idea, I don't know how far I will get but I will try :)
     
  28. Offline

    Kevin Forte

    Alright :p (Last time I rely on CButD xP) Is it possible to somehow wager money? I know iConomy has been mentioned, but what are you thinking for that?
     
  29. Offline

    niccholaspage

    The only idea I have for iConomy is simply putting in how much money the winner will get after the game, but after your posts I think wagering sounds awesome.
     
  30. Offline

    Kevin Forte

    Very cool :) Well, I look forward to updates, and I will be watching this forum very closely. Thanks for all your help, and yes, wagering would be quite awesome xP

    EDIT: I also realized I was still running nSpleef 1.2, which is why I was getting that bug. Updated, and problem solved. Again, no more relying on CButD.
     
  31. Offline

    Jinivus

    How do persistent games work? Are all games persistent now?
     

Share This Page