Commands & Permissions - Historical

Applied By Rocologo: Apr 2, 2017 at 10:08 AM

Commands & Permissions
Commands:

The master command is /mobhunt, but an easier alias is /mh. I rare cases there is a naming conflict with other plugins. (Ex MysteriousHalloween) which will force you to use /mobhunt instead of /mh.

In general you can use <tab> to see the different options. Try to type: /mh l<tab> to see all Mobhunting commands starting with l. Or /mh money <tab> to see all money commands.

Money Command

/mh money drop <amount> - to drop <amount money> where player look.
/mh money give [<toPlayer>] [<mobname|playername>] [<Displayname>] [<Amount>] - give a player
/mh money drop <playername> <amount> - to drop <amount money> where player look.
/mh money sell - to sell all bag of gold you are holding in your hand.
/mh money sell <amount> - to sell <amount money> of the bag of gold you
/mh money take <player> <amount> - to take <amount> money from player <player>
/mh money buy <amount> - to get more "bag of gold" and pay with your dollars.
Aliases: [ bag ] You can use /mh bag drop..... instead of /mh money drop...
Permission: Players must have permission "mobhunting.money.drop","mobhunting.money.give","mobhunting.money.sell","mobhunting.money.buy" to use the money commands.

Happyhour Command

/mh happyhour <time> <multiplier> - time is default 60 minuts, multiplier is default 2.
/mh happyhour - If happhyhour is called while ongoing, it shows multiplier and time left.
Permission: mobhunting.happyhour

Head Command
/mh head give [<toPlayer>] [<mobname|playername>] [<Displayname>] [<Amount>] - give a player the head of mob or another player. Display name and amount are optional parameters.
/mh head drop <head> - Top drop a head where you look
/mh head drop <head> <player> - To drop a head in front of the <player>
/mh head drop <head> <x> <y> <z> <world> - To drop a head at the location <x> <y> <z> in world <world>
/mh head rename [<newDisplayName>] - rename the head you are holding in your hand.
Permission: Players must have permission "mobhunting.head" to use the head command.

Debug Command
/mh debug - toggle/enable/disable debugmode in server console. You can now change debug mode without restart of the server.
Permission: Players must have permission "mobhunting.debug" to use the debug command in game.

Bounty Command
/mh bounty - get list of "relevant" bounties.
/mh bounty [<otherplayer>] - get a list of "relevant" bounties on <otherplayer>.
/mh bounty [<player>] [<prize>] [<Message to player>] - Put a bounty on <player>.
/mh bounty remove <player> - Cancel your bounty on <player> and get some of your money back.
Permission: Players must have permission "mobhunting.bounty" to use the bounty command.

Mute Command
/mh mute - toggle reward notifications for the player
/mh mute [<otherplayer>] - toggle reward notifications for another player
Aliases: [ notify, silent]
Permission: mobhunting.mute
Permission: mobhunting.mute.other

Learning mode
/mh learn - toggle learning mode for the player
/mh learn [<otherplayer>] - toggle learning mode for another player
Aliases: [-l, learningmode]
Permission: mobhunting.learn
Permission: mobhunting.learn.other

Achievements
/mobhunt achievements [<player>] - Views all the achievements you or another player has
Aliases: [kills, specialkills, listachievements]
Permission: mobhunting.listachievements

MasterMobHunters
/mh npc create [stattype] [Period] [rank] - To create an NPC (MasterMobHunter). Use tab-complete to see the possibilities or type som letters and press tab.
/mh npc remove - To remove/delete the npc again
/mh npc update - To update the NPC stats, including the stats on the connected signs.
to create, remove and update MasterMobHunetr NPC's
/mh npc sethome - To set the origin (home) of the MasterMobHunter. MasterMobHunters can have other Traits added. Ex Sentinel / Sentry which can make the MasterMobHunter move when attacking other mobs/players.
/mh npc tphere - To teleport the NPC to the location of the player
Permission: mobhunting.npc

Leaderboards
/mobhunt top <stattype> <period> [<count>]
Displays the [<count>] (default 10) top players for <stat type> in <period>. Values for <stattype> and <period> are the same as in creating-leaderboards
Permission: mobhunting.top
/mobhunt select (1|2)
Used to select points for leaderboards if WorldEdit is not present
Permission: mobhunting.select
Aliases: sel
/mobhunt leaderboard create <id> <stattype> <period> <horizontal?>
Used to create leaderboards. See creating-leaderboards for information about how to use this command
Permission: mobhunting.leaderboard
Aliases: [lb, board]
/mobhunt leaderboard edit <id> (type|period|horizontal) <value>
Edits existing leaderboards. <value> is the name of a stat if you use type. It is the name of a time period if you use period. It is true or false if you use horizontal. The meanings of these values are the same as in leaderboard create
Permission: mobhunting.leaderboard
Aliases: [lb, board]
/mobhunt leaderboard delete <id>
Deletes an existing leaderboard
Permission: mobhunting.leaderboard
Aliases: [lb, board]
/mobhunt leaderboard list
Lists all the leaderboards
Permission: mobhunting.leaderboard
Aliases: [lb, board]

Grinding, Whitelisting and Blacklisting
By default Grinding mobs is not allowed and grinding will not give the player rewards unless the area is whitelisted.

/mobhunt checkgrinding
Checks if the area you are standing in is a known grinding spot or if the area is whitelisted.
Aliases: [isgrinding, grinding, checkarea]
Permission: mobhunting.checkgrinding

Whitelisting of Grinding Areas.
/mobhunt whitelistarea
returns if the area is whitelisted.
/mobhunt whitelistarea add
add the area to a list of whitelisted areas.
/mobhunt whitelistarea remove
removes the area from the list of whitelisted areas.
Permission: mobhunting.whitelist

Black of Grinding Areas. This can be used if you find an XP/Item Farm made by the players, which has not been detected by the MobHunting Farm Detection.
/mobhunt blackarea
returns if the area is blacklisted.
/mobhunt blacklistarea add
add the area to a list of blacklisted areas.
/mobhunt blacklistarea remove
removes the area from the list of blacklisted areas.
Permission: mobhunting.blacklist

Worldguard regions
You can now add regions in disabled worlds and set the Worldguard custom flag 'MobHunting allow', to enable MobHunting in a limited area in the world. OR you can disable Mobhunting in a worldguard region with the custom flag 'MobHunting deny'.

/mh region [area] mobhunting [allow|deny|<null>]
Enables / disables 7 removes the custom Worldguard flag
Aliases: [flag, rg, worldguard]
Permission: mobhunting.region

Other commands
/mobhunt reload
Reloads the config file
Permission: mobhunting.reload

/mobhunt update
Updates the plugin. Command can be run from both console an in-game, if player has permission. The server must be restarted before update is effective.
Permission: mobhunting.update
/mobhunt version
Show current version of the plugin.
Permission: mobhunting.version

Permissions:
mobhunting.enable - When granted, allows a player to receive money from killing monsters, and get achievements
Default: Everyone

mobhunting.learn
When granted, allows a player to toggle his learning mode
Default: Everyone

mobhunting.learn.other
When granted, allows player to toggle another player learning mode
Default: Op

mobhunting.listachievements
When granted, allows a player to use /mobhunt achievements
Default: Everyone

mobhunting.head
When granted, allows a player to give/spawn mob/player heads
Default: OP

mobhunting.debug
When granted, allows a player to toggle/enable/disable debug information in server console
Default: OP

mobhunting.reload
When granted, allows a player to use /mobhunt reload
Default: OPs only

mobhunting.update
When granted, allows a player to use /mobhunt update
Default: OPs only

mobhunting.region
When granted, allows a player to use /mh region
Default: OPs only

mobhunting.listachievements.other
When granted, allows a player to list the achievements of another player
Default: OPs only

mobhunting.checkgrinding
When granted, allows a player to use /mobhunt checkgrinding
Default: OPs only

mobhunting.top
When granted, allows a player to use /mobhunt top
Default: OPs only

mobhunting.leaderboard
When granted, allows a player to use /mobhunt leaderboard
Default: OPs only

mobhunting.select

When granted, allows a player to use /mobhunt select

mobhunting.whitelist

When granted, allows a player to use /mobhunt whitelistarea [add|remove] to add or remove and whitelisted area or use /mobhunt whilitelistarea to check if the area is whitelisted.
Default: OPs only
mobhunting.blacklist
When granted, allows a player to use /mobhunt blacklistlistarea [add|remove] to add or remove and blacklisted area or use /mobhunt checkgrinding to check if the area is blacklisted
Default: OPs only

mobhunting.whitelist.show
mobhunting.blacklist.show

When granted the player will be able to SEE the blac/whitelisted area if ProtocolLib is installed on the server.
Default: Everyone can have this permission without problems.

mobhunting.achievements.disabled

Add this permission the player to disable achievements completely for the player
Default: Achievements is enabled by default.
Rank / Group permissions to multiply the reward money.
Reward money can be multiplied by a factor depending on the permission.

Ex. Add permissions to users og group in your permission file:

mobhunting.multiplier.guest
mobhunting.multiplier.staff
mobhunting.multiplier.hasvoted
mobhunting.multiplier.donator

And then edit the rankMultiplier settings in config.yml (TBD) check format in cinfig.yml

Advanced permissions:
By default uses can hunt all kind of mobs and get a rewards. If you want to control which mobs the user actually get rewards from, on a individual basis, you can grant/remove the user permission to 'mobhunting.mobs.mobtype'

mobhunting.mobs.*
Used for enabeling/disabling the killing of all mobs.
Default: The player get rewards for all kind of mobs killed defined in the configuration files.
mobhunting.mobs.mobtype
When granted, allows a player to get reward for mobs of type 'mobtype'
Default: By default the player is rewarded for all mobs.
Examples:

Minecraft mobs
-mobhunting.mobs.spider
to disable rewards from a killing of a spider
MythicMobs
-mobhunting.mobs.SkeletalMinion
to disabled rewards from a killing of a SkeletalMinion mob.
Citizens 2
- mobhunting.mobs.npc-1
All Citizens has an unique ID (number). You can disable some npc's using their id: mobhunting.mobs.npc-id
If you want to allow rewards for all mobs except a spider and a cow you can add following permissions.

Permission
- mobhunting.mobs.spider
- mobhunting.mobs.cow
- mobhunting.mobs.*