[FUN] SoftAir v0.9b - A real AirSoft experience on your bukkit server[1060]

Discussion in 'Inactive/Unsupported Plugins' started by Slash1987, Aug 16, 2011.

  1. Offline

    Slash1987

    [​IMG]

    SoftAir V0.9b


    This plug-in tries to simulate an AirSoft game. Two teams battle one another across a map until one achieves victory. On one side we have the Gold Team, donning a gleaming set of Golden Armor and on the other side we have the Diamond Team, bearing their hardened Diamond Armor. Both teams are equipped with a Toy-Bow and Arrow insuring no real damage occurs. As in any real AirSoft you only need to strike your opponent once in order to eliminate them from the game.

    Features:
    No Damage System during the event . (Just like airsoft\paintball\laser games)
    Bows, Arrows and Armor are added to players when they join.
    The player’s inventory will be stored securely during the event, it will be returned at the end.
    One hit system, when a player gets shot once they will be teleported to where the game begins.

    Request:
    Dear users, don't be afraid to post and inform me of any bugs, errors, issues or ideas. I haven't had many opportunities to test this plug-in thoroughly. I'll be very grateful and you'll be helping me to improving this.


    Installation Guide:
    Just put softair.jar in your plugin folder, start the server and set the spawnpoint for the two teams(CMD: /sofair setSpawn [DIAMOND/GOLD]).

    Update from previous:
    Simply remove the "softair.db" from the bukkit folder

    Commands:
    /softair Help : see in-game help
    /softair opHelp : see admin commands help
    /softair setSpawn [Gold\Diamond] : set the spawn-point of the team (ADMIN COMMAND)
    /softair enable : enable the game (ADMIN COMMAND)
    /softair disable : disable the game (ADMIN COMMAND)
    /softair initialize : delete all configuration (like a fresh install) (ADMIN COMMAND)
    /softair join : join the team with less members
    /softair leave : leave the game
    /softair players : tell how many player in the game and in each team
    /softair ready : tell the plugin that you're ready to play


    Download:
    V0.9b <Edit by Moderator: Redacted mediafire url>
    V0.9b alternative link
    http://www.fileserve.com/file/Gd2TGGr


    Source:
    https://github.com/Slash1987/SoftAir to just look at it or to make fork
    For personal uses, it's included in the .jar

    Know Issues:
    1)Still to find

    Todo list:
    1)Add iConomy and Permissions support(iConomy 80% done)
    2)Waiting for Spout team to add the possibility of create new block/items to make my own SoftAir equipment(to use only in softair game)


    Changelog:
    v0.9b
    1)Fixed the arrow control (now one hit and you're out)
    2)Added chat color code
    3)Some minor bugfix

    v0.8b
    1)Control if there is other player on playerLeave event (and eventually notify victory to the remaining team)
    2)Reinitialize game when all players leave and after a game
    3)Some minor changes

    Show Spoiler
    v0.7b
    1)Fixed the bug that prevent for starting a new game
    2)Added global message when the game is enabled/disabled
    3)Now, after joining, it says to type /softair ready to start the game
    4)On login, player crashed will receive a message telling that all of theyr stuff is been restored
    5)Added initial support for iConomy, but not yet implemented(4 new commands still doing nothing, next release i'll active them. Focused on bugfixing for this release)

    v06b
    1)Fixed an error that prevent the hitByArrow event
    2)Fixed the error that prevent the scheduler to stop and reinitialize the countdown
    3)Added a global message telling who won the game

    v0.5b
    1)Fixed all known bug
    2)Some minor code restyling
    3)Some DB table modified (just delete the old db file)
    4)Added a new command to drop all the tables and create new one

    v0.4b:
    1)Complete code restyling
    2)New DB configuration
    3)Some minor buxfixes
    4)Removed the bug that cause the god mode to be disabled

    v0.3b:
    1) introduction of SQLite DB
    2)Spawn Point saved in the DB
    3)Players inventory saved in the DB to prevent lose of information due to a crash
    4)Restoring of player inventory as they log in after a crash or after they log out during a play
    5)Added the option for the Admin to disable the game
    v0.2b - Added a config file. You don't need to set spawn point everytime
    v0.1b - First Release


    Credits:
    @JDD for English revision
    @Evilhaunting for the testing
     
    Last edited by a moderator: Nov 12, 2016
    halothe23 and Massimo1993 like this.
  2. Offline

    user_43347

    Slash1987 likes this.
  3. Offline

    sddddgjd

    Nice!
     
    Slash1987 likes this.
  4. Offline

    ogichidude

    the dl link is broken or something? or did you delete the file cause thats the message its giving me. : P
     
    Slash1987 likes this.
  5. Offline

    dark_hunter

    Invalid or Deleted File.
    The key you provided for file download was invalid. This is usually caused because the file is no longer stored on Mediafire. This occurs when the file is removed by the originating user or Mediafire.
    If you believe you have reached this page in error, please contact support.
     
    Slash1987 likes this.
  6. Offline

    Slash1987

    Download link fixed, sorry
     
  7. Offline

    Massimo1993

    @Slash1987
    hi excuse me but you can do this for only sword?
     
  8. Offline

    Slash1987

    Yes, i could do this, but first i need to fix the bug(maybe i will set this option in the config file)
     
  9. Offline

    EspoDev

    Wow Amazing! :D
     
    Slash1987 likes this.
  10. Offline

    NIgelThornberry

    I can't leave the game.
     
  11. Offline

    BattleGroundxx

  12. Offline

    StevasaurousREX

    Nice plugin! Idk if its just in America, but isn't it Airsoft? not Softair?
     
  13. Offline

    Slash1987

    In Italy it's called SoftAir so it's the way I called it...

    I'm still working on bugfixes, I don't know why I couldn't remove a player from the game...
    If you or someone else find some other bug post it here and I'll try to fix them as soon as I can

    @BattleGroundxx
    For the video i'll try to make it as soon as i find a decent number of player, and after a stable release I'll make an arena and film the play

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

    Shwazzers

    I Suggest having a list of configurable banned commands.
    Ex. Someone could use /spawn(essentials) during the game and could just wait till everyone died.
     
  15. Offline

    ogichidude

    oh, another bug to fix is that godmode is disabled on servers. even though i was not doing anything with the plugin, and by disabled (its late, so if misspelled idgas) i mean it won't work. if you retype /god many times nothing changes.
     
  16. Offline

    DryNinja

    Hm, kinda cool idea, but I don't get how gravel can become clay?
     
  17. Offline

    Slash1987

    This plugin doesn't change gravel to clay.... Maybe you're in the wrong thread

    There is no /god command in this plugin, you could set the godmode only if you have a plugin that allows you to...
    My plugin just cancel the onEntityDamageEvent if the player is playng softair

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

    Molecyle

    isnt it calledairsoft
     
  19. Offline

    Slash1987

    Here in Italy it's SoftAir, but if everyone is ok with it i'll change the name in airsoft
     
  20. Offline

    Molecyle

    no softair is cool plugin name but you should say like "This plugin try to simulate a AirSoft game" and so on but keep softair as the name of the plugin
     
  21. Offline

    Slash1987

    up - new Version Released
     
  22. Offline

    ogichidude

    i didn't look into the changelog as i saw above that there is an update, but i use essentials stuff so the /god worked, then i installed this and it didn't is all i was saying. just want to clarify this : P
     
  23. Offline

    moselekm

    I like the looks of this. I hope you keep at it!
     
  24. Offline

    StevasaurousREX

    I think it has something to so with disabling onEntityDamageEvent but I may be wrong. Does it spit out errors anywhere? (in game or console[<hopefully here]) That could easily tell me (or him) if thats the problem.


    Also can this be open source? I wanna snoop xD (I dont wanna do it the mean way) also is v0.3 broken? (it says it is by the link)
     
  25. Offline

    ogichidude

    i think it means his link is broken only because the previous link was :p but hey, im likely wrong. i tend to be on the interwebs it seems. if i do recall i don't think i saw any errors when playing.
     
  26. Offline

    Slash1987

    versio 0.3 is broken, not the link itself... and, yes, it's open source(and the source is in the .jar)
     
  27. Offline

    StevasaurousREX

    I see what you mean lol.
    Code:
    10:03:53 [INFO] [SoftAir[B] 0.2b[/B]] Loading config
    10:03:54 [INFO] [SoftAir [B]0.2b[/B]] Plugin Enabled
    10:03:54 [INFO] Server permissions file permissions.yml is empty, ignoring it
    10:03:54 [INFO] Done (0.376s)! For help, type "help" or "?"
    10:04:18 [INFO] StevasaurousREX [/127.0.0.1:54530] logged in with entity id 2 at
     ([world] -186.53125, 66.0, 63.875)
    10:04:30 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'soft
    air' in plugin SoftAir [B]v0.2b[/B]
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    9)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    20)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:713)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
            at slash.softAir.SoftAir.onCommand(SoftAir.java:70)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    Also you forgot to change the version number (not that big of a deal)
     
  28. Offline

    Saammyyx

    Is it possible for you to add something so that when a team eliminates the other team it says who won, otherwise it is kind of pointless to play. Thanks!
     
  29. Offline

    Slash1987

    Yes, i'm fixing some major problem first, than I'll add all kind of notification
     
  30. Offline

    KeimaAyasaki

    @.@ It keeps on saying that there is...
    hmm...
    Diamondspawn: ' '
    ^
    it broken.. :(
     

Share This Page