[WIP][MiniGame][Misc] Infected - MW3 Infection in Minecraft [1.2.5-R4.0]

Discussion in 'WIP and Development Status' started by NinjaWAffles, Jul 4, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    NinjaWAffles

    Plugin Information:
    ===============
    Plugin Name: Infected
    Type: MiniGame
    Plugin Version: 0.1A
    Bukkit Recommended Version: 1.2.5-R4.0

    Description:
    =========
    This plugin is based off of MW3's Infected mod. As this is made for Minecraft, there is a little twist. This is not an overly advanced plugin, but I believe it has some cool features.

    Features:
    ========
    * Automation - This plugin was made for their to not be an admin watching every move.
    * Simplicity - As I said in the description, this is not an overly advanced plugin. It should be easy to grasp a hold of.
    * Block Damaging Disabled - This plugin comes with a built in block-breaking/block-placing stopper. (see "Config" for more info).
    * Alpha Zombie Freezing - When the game starts, the Alpha Zombie is frozen for 15 seconds, giving the others a chance to hide.
    * Disabled Vanilla Death Message - The "xxx was slain by ooo" has been disabled to stop interference with my plugin.
    * Infected spawn with a Stone Sword
    * Non-Infected spawn with a Bow and Leather armour.

    Commands:
    =========
    * <font color="#ff0000">Red <font color="#000000">is for admin only commands. <font color="#0000ff">Blue <font color="#000000">is for regular commands (anyone can use them).</font></font></font></font>
    1. <font color="#0000ff">/inf start <font color="#000000">- This will start the game if these conditions are met:</font></font>

    - 2. <font color="#0000ff"><font color="#000000">The game has to be unlocked (see <font color="#ff0000">/inf lock</font> for more info).</font></font>
    3. <font color="#0000ff"><font color="#000000">There cannot already be a game in session</font></font>
    4. <font color="#0000ff"><font color="#000000">The game has to be stopped. If it is starting, you cannot start it again.</font></font>
    - <font color="#0000ff"><font color="#000000"><font color="#ff0000">/inf lock <font color="#000000">- When the lock is set to "true," no-one will be able to start the game.</font></font></font></font>
    - <font color="#0000ff"><font color="#000000"><font color="#ff0000"><font color="#000000"><font color="#0000ff">/inf leave <font color="#000000">- If you are in a game, and wish to leave, then this command will take all your items, and send you back to spawn.</font></font></font></font></font></font>
    - <font color="#0000ff"><font color="#000000"><font color="#ff0000"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#ff0000">/inf endgame</font> <font color="#000000">- If a game was started on accident, this will end it for you.</font></font></font></font></font></font></font></font>
    - <font color="#0000ff"><font color="#000000"><font color="#ff0000"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff">/inf infected <font color="#000000">- When a game is in session, this will display the infected players.</font></font></font></font></font></font></font></font></font></font>
    - <font color="#0000ff"><font color="#000000"><font color="#ff0000"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff">/inf noninfected <font color="#000000">- When the game is in session, this will display the non-infected players.</font></font></font></font></font></font></font></font></font></font></font></font>
    - <font color="#0000ff"><font color="#000000"><font color="#ff0000"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff">/inf spawn - <font color="#000000">If spawn is set (see <font color="#ff0000">/inf setspawn</font>), then the player will be teleported to spawn.</font></font></font></font></font></font></font></font></font></font></font></font></font></font>
    * <font color="#0000ff"><font color="#000000"><font color="#ff0000"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000">You can only teleport to spawn if you are not currently in game.</font></font></font></font></font></font></font></font></font></font></font></font></font></font>
    - <font color="#0000ff"><font color="#000000"><font color="#ff0000"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff">/inf spectate <font color="#000000">- I setup my spectating a little differently. As so, when this command is used, you will teleported to a room where you can look over the whole arena.</font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>
    - <font color="#0000ff"><font color="#000000"><font color="#ff0000"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff">/inf commands<font color="#000000"> - This command will list some useful commands to the user.</font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>
    - <font color="#0000ff"><font color="#000000"><font color="#ff0000"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff">/inf concept - This command will tell the player what the game is about.</font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>
    - <font color="#0000ff"><font color="#000000"><font color="#ff0000"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff">/inf setspawn - This will set the spawn.</font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>
    - <font color="#0000ff"><font color="#000000"><font color="#ff0000"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff">/inf setarena - This will set the starting point of the game inside the arena.</font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>
    - <font color="#0000ff"><font color="#000000"><font color="#ff0000"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff">/inf setspectating - This will set the room in which the player will be teleported to when he wishes to spectate.</font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>
    * <font color="#0000ff"><font color="#000000"><font color="#ff0000"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff"><font color="#000000"><font color="#0000ff">I recommend that this room be made of glass, as it is transparent, and will allow the user easy visibility to the arena.</font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>

    Configuration File:
    ==============
    As I feel that this plugin comes with some options that server owners may want to keep enabled/disabled, I have added the config with options to help you manage this plugin more for your taste.
    * general.TpToSpawnOnEnter

    - * This node will enable/disable the player being TPed to the spawn you assigned with /inf setspawn upon entering the game.
    - general.OverrideWorldSpawn
    * This node will allow you, if set to true, to override the world spawn. Meaning that if this is true and you type '/inf setspawn;' the spawn will be set for the world.
    - game.NumberOfPlayersToStart
    * This node will determine how many players are needed in order for a game of Infection to take place. i.e.: If it is set to 6, then the game will only start, when /inf start is typed, if 6 people are in it.
    - block.CancelBlockBreakEvent
    * If set to true, when a player attempts to break a block, it will re-appear. (OP will override)
    - block.CancelBlockPlaceEvent
    * If set to true, when a player attempts to place a block, it will re-appear. (OP will override)
    - player.ErasePlayerFileOnLeave
    * When the player joins, a personal file is created for him. This contains information like: isInGame, isZombie, isAlpha, etc... If this node is enabled, then when the player leaves, his personal file will be removed. This can potentially be used if you run a big server, and want to free space.
    - player.AllowHealthRegen
    * By default, the food bar is disabled. This node will allow you toggle the allowance of health regeneration. This means that the players health will/will not regenerate while in or out of a game.

    Instructions:
    ==========
    Place the plugin in the /plugins directory in your server. Start your server, and the plugin load. When it loads, you can edit the config.yml file as you please.

    ChangeLog:
    =========
    * Initial Release

    Known Interferences:
    ================
    * To the best of my knowledge, this plugin does not interfere with any other plugin. If you find one, please report it in a reply, and I will try my best to fix it.

    Download:
    =========
    <Edit by Moderator: Redacted mediafire url>

    Poster's Notes:
    ===========
    Thank you for downloading my plugin. This is my first one, so I hope you enjoy. I, myself, enjoy making these "minigame" type plugins. If you like them, please let me know, so I can continue to make more. Minecraft Nazi Zombies??? Let me know.
     
    Last edited by a moderator: Nov 10, 2016
  2. Offline

    TnT Retired Staff

    Locked.
     
Thread Status:
Not open for further replies.

Share This Page