diff --git a/README.md b/README.md index 8931384..935127b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,84 @@ BlockHunt ==== +# ![Thanks to ColeRule for making this awesome banner!](http://g2f.nl/0qheg35 "Thanks to ColeRule for making this awesome banner!") -Block Hide And Seek plugin for the Bukkit Development. -Called BlockHunt. -Find more info at: http://dev.bukkit.org/bukkit-plugins/blockhunt/ ! +##Introduction +Hide and seek is a popular game mode on Minecraft that allows you to hide as blocks and disguise as normal props from seekers. This plugin allows you to do that but with a lot more features added on such as: shops, stats etc... + +This plugin has been heavily inspired from the gamemode "PropHunt", from the game, "Garry's Mod". + + +**Download and try this plugin out for yourself!** + +##Downloads +|Branch|Plugin version|Compatiable Minecraft version|Build status|Download| +|:--|:--|:--|:--|:--| +|**Release (master)**|**v0.2.1**|**v1.12.2**|[![Build Status](https://jenkins.addstar.com.au/job/Blockhunt/badge/icon)](https://jenkins.addstar.com.au/job/Blockhunt/)|[DOWNLOAD](https://jenkins.addstar.com.au/job/Blockhunt/lastSuccessfulBuild/artifact/target/)| + +### This plugin requires you to download and install two addinonal plugins! ([Lib's Disguises](https://www.spigotmc.org/resources/libs-disguises.81/) and [ProtocolLib](http://dev.bukkit.org/bukkit-plugins/protocollib/)) + +##Support +||Link| +|:--|:--| +|**Issues/Tickets on GitHub**|[Click Here](https://github.com/AddstarMC/BlockHunt/issues/)| + +##Features +* Custom wand for selection arena. +* Multiple arenas. +* **Join/Leave signs!** +* Arena full bypass. +* Configurable blocks. +* **Solid blocks like the Hives!** +* Enable commands per arena. +* Executing commands on win. +* **Shop with tokens!** +* Instant respawn. +* **_And more!_** + +##Commands & Permissions +_**Note:** Instead of using /BlockHunt you could use:_ +* /bh +* /hideandseek +* /seekandfind (from my old plugin) + +<> = Required [] = Optional + +|Command|Description|Permission|| +|:--|:--|:--|:--| +|`/BlockHunt [info/i]`|Displays the plugin's info.|blockhunt.info|_All players have this permission from default._| +|`/BlockHunt `|Shows a list of commands.|blockhunt.help|_All players have this permission from default._| +|`/BlockHunt `|Reloads all configs.|blockhunt.reload|blockhunt.admin| +|`/BlockHunt `|Joins a BlockHunt game.|blockhunt.join|blockhunt.player| +|`/BlockHunt `|Leave a BlockHunt game.|blockhunt.leave|blockhunt.player| +|`/BlockHunt `|Shows a list of available arenas.|blockhunt.list|blockhunt.player| +|`/BlockHunt `|Opens the BlockHunt shop.|blockhunt.shop|blockhunt.player| +|`/BlockHunt `|Forces an arena to start.|blockhunt.start|blockhunt.moderator| +|`/BlockHunt `|Gives you the wand selection tool.|blockhunt.create|blockhunt.admin| +|`/BlockHunt `|Creates an arena from your selection.|blockhunt.create|blockhunt.admin| +|`/BlockHunt `|Opens a panel to set settings.|blockhunt.set|blockhunt.moderator| +|`/BlockHunt `|Sets warps for your arena.|blockhunt.setwarp|blockhunt.moderator| +|`/BlockHunt `|Deletes an Arena.|blockhunt.remove|blockhunt.admin| +|`/BlockHunt `|Change someones tokens.|blockhunt.tokens|blockhunt.admin| +||Able to join full games.|blockhunt.joinfull|blockhunt.moderator| +||Able to join/leave using join/leave signs.|blockhunt.joinsign|blockhunt.player| +||Able to create a join/leave sign.|blockhunt.signcreate|blockhunt.moderator| +||Gives you the BlockChooser.|blockhunt.shop.blockchooser|blockhunt.admin| +||Gives you the ability to do all commands in-game.|blockhunt.allcommands|Operators| + +###Other special permissions +|Permission|Description| +|:--|:--| +|`blockhunt.*`|All BlockHunt permissions.| +|`blockhunt.player`|All player related permissions.| +|`blockhunt.moderator`|All moderator related permissions.| +|`blockhunt.admin`|All admin related permissions.| +|`*`|All permissions on your server, including BlockHunt's permissions.| + +##How to set-up? +Use this video to manage your way through the set-up phase! + + + +**Thanks to [Koz4Christ](https://www.youtube.com/user/koz4christ/) for this video!** \ No newline at end of file diff --git a/src/nl/Steffion/BlockHunt/BlockHunt.java b/src/nl/Steffion/BlockHunt/BlockHunt.java index 11e90f9..e5b9bc9 100644 --- a/src/nl/Steffion/BlockHunt/BlockHunt.java +++ b/src/nl/Steffion/BlockHunt/BlockHunt.java @@ -174,11 +174,15 @@ public class BlockHunt extends JavaPlugin implements Listener { if (!getServer().getPluginManager().isPluginEnabled("LibsDisguises")) { MessageM.broadcastFMessage(ConfigC.error_libsDisguisesNotInstalled); + Bukkit.getServer().getPluginManager().disablePlugin(this); + return; } if (!getServer().getPluginManager().isPluginEnabled("ProtocolLib")) { MessageM.broadcastFMessage(ConfigC.error_protocolLibNotInstalled); - } + Bukkit.getServer().getPluginManager().disablePlugin(this); + return; + } ArenaHandler.loadArenas();