[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

    Slash1987

    i'm uploading it to another hosting site, wait some minutes or try to download it from dev.bukkit.org

    UP - Download link fixed, added alternative link if the first doesn't work... Sorry for the inconvenience

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

    G4meM0ment

    The download Link is buggy, it tells me there is no file.
     
  4. Offline

    Slash1987

    try the fileserve link, today mediafire it's giving me problem... Also try to download it from dev.bukkit.org, should work
     
  5. Offline

    Ozo

    Ok, my first experience:

    I set spawnpoints, works fine.
    I enable the game, works fine.
    Players types "/airsoft join" they start falling through the world.
    Players types "/softair ready, the game starts.
    We play, a team wins.
    Players still has their golden armor on. (the game is still active even though a team already won?)
    Players type "/softair leave" - i don't get my items back
    I disable the game "/softair disable"
    I set new spawnpoints and type "/softair enable" the game is enabled.
    Players type "/softair join" - they/i get the message that the game is in progress and that they can't join.
    I type "/softair players" - There are no players playing..

    So i guess i'll have to restart the server after every round ^^
    Anyway, great idea. Think it could be a hit after some bugfixes and some tweaking!
     
  6. Offline

    Slash1987

    UP - version 0.8 out
     
  7. Offline

    Rocky447744

    Hi i want to test this plugin but i i don´t know how i can set the spawn point
    Pleas help me
     
  8. Offline

    Slash1987

    just type '/softair setspawn gold' to set the spawn for the gold team (the location will be the same were you type the command) and then '/softair setspawn diamond' to set diamond spawn
    then type '/softair enable' to enable the game and tell everyone how to join
     
  9. Offline

    Rocky447744

    oh, sorry i have forgot to set a diamond spawn but thanx
     
  10. Offline

    Slash1987

  11. Offline

    DutchNinja

    Nice plugin Slash! Everything works, However almost no one joins my server so...
    I'll need to wait for my GF and her brother and my brother for a family war :D
    Thx :3
     
  12. Offline

    Slash1987

    So hope they will join soon
    Stay in tune cause i will release a new version soon (with iConomy support)
     
  13. Offline

    G4meM0ment

    It would be nice, if you add respawn and the bug is propably not completly fixed. (start new game dont work)
     
  14. Offline

    Slash1987

    S**t, i'll work on it
     
  15. Offline

    G4meM0ment

    You're great! :D
     
  16. Offline

    StevasaurousREX

    Im uploading a video now of the errors.
     
  17. Offline

    Nipper

    Yeah, It started out no errors but I shot the person and it still did not kick them out of the game and unable to have a winner
     
  18. Offline

    Slash1987

    It's some kind of problem with bukkit event listener, i'm trying to figure out how to turnaround the problem but in a case it will throw out error, and in the other it will do nothing... Holy crap
     
  19. Offline

    Cystalize

    This is really cool! Except I have some recommendations thatl make this plugin at its full potential! First I'de like to say that I havn't tested this plugin yet with other players, just myself. I have killed myself while in the game and sadly, I spawned back to the actual server spawn. It would be alot better if you either spawned back into the game or you had to spectate or something haha. And I'm not sure how the fees work. Maybe you can explain that to me?

    Other than that this plugin is extremely fun and probably one of the best plugins I've seen as far as supporting more entertainment in minecraft. Thanks so much

    -my regards
     
  20. Offline

    Slash1987

    the fees is not yet inplemented as i'm working on a bukkit bug that prevent my plugin to work properly. In fact, when a player got hit, it should be teleported back to the location where he tiped the command to join. Suddenly the arrow hit couldn't be catched properly and so everything's gone wrong. Hope that the bukkit staff will make a fix soon (posted an issue report and commentend also on github) or someone help me find a workaround to this problem.
    The fee system is simple, when you enter the game you must pay x coins(with iConomy) and, at the end, the player/players left in the game will take all the fee
     
  21. Offline

    Evilhaunting

    Tested the plugin appears to be no errors :] keep up the good work!
     
  22. Offline

    G4meM0ment

    We're playing on a Public MP Server, so we want to play very often airsoft but it disturbs us to reset everytime the spawns. Could you add pls Something like a respawn system, if its possible that we can play so often as we want in a row. (sry for my worse english)
     
  23. Offline

    Babyzoegoon

    Doesnt work on my server, I set the spawns i enable game then when players type /softair join it say Cant join game is in progress
     
  24. Offline

    Slog

    It all looks like a great plugin, except when I (only i not my friends) type /softair join, i get sent to the desegnated spawnpoint with the items, but im stuck. My guy looks left and right very quickly without my control and i cant move. I tried making sure i wasnt spawning inside any blocks. HELP?!?
     
  25. Offline

    Slash1987

    Sorry guys for all the problem that my plugin could cause. I'm fixing the arrow problem(no hit detection)
    @Babyzoegoon I'll check the problem soon(because of the error talked above, when the game finish or someone leave a game in progress and there is no other players, the game remain stucked in InProgress status. Try to use the command /softair initialize, it'll reset all the game status)
    @Slog you got stuck cause you have to type /softair ready and there must be minimum 2 players in game and at least 1 player per team.
    I'm testing a new version that (maybe) will fix all the problem you guys have got
     
  26. Offline

    Saammyyx

    Everything is good with the mod until i start playing, it isn't one hit is out.. even when i kill the enemy there is no confirmation. So yeh, it isn't one hit and there out.
     
  27. Offline

    Slash1987

    I'm having a big issue due to a Bukkit bug. So i'm waiting a new version of it to make a fully functional version of the plugin. If someone could help me (if it's an error of mine) i post my class source and the log of the error

    http://pastie.org/2481468 Main Class
    http://pastie.org/2481470 EntityListener
    Show Spoiler

    [SEVERE] Could not pass event ENTITY_DAMAGE to SoftAir
    java.lang.NullPointerException
    at com.slash.softAir.SoftAir.notifyVictory(SoftAir.java:301)
    at com.slash.softAir.SoftAir.hit(SoftAir.java:290)
    at com.slash.softAir.Listener.SoftAirEntityListener.onEntityDamage(SoftAirEntityListener.java:34)
    at org.bukkit.plugin.java.JavaPluginLoader$59.execute(JavaPluginLoader.java:656)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at net.minecraft.server.EntityArrow.m_(EntityArrow.java:183)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1212)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1194)
    at net.minecraft.server.World.cleanUp(World.java:1110)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:450)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

     
  28. Offline

    Cdilinkyay

    Great plugin :D I have had this idea for an arena, but I'm not sure what I should make it for, and I saw this plugin and well, took the time to make THIS.

    [​IMG]
     
  29. Offline

    Slash1987

    @Cdilinkyay
    Cool idea, just make some kind of maze in it, save the world and send it to me, I could make this the default arena and give you the credits
     
  30. Offline

    Cdilinkyay

    @Slash1987
    A maze or a kind of paintball arena, with barricades and small buildings to take cover behind. If a maze, tell me what kind.
     
  31. Offline

    Slash1987

    @Cdilinkyay
    A kind of paintball arena, even if i was thinking to a small map like a village too.
    Maybe we could make both
     

Share This Page