Home›Java›Mods›Contraband Asker
Contraband Asker
ModsJava

Contraband Asker

Java mod listed for Minecraft 1.15–1.16. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
Contraband Asker is a plugin that allows Officers or Guards to ask for players' contraband in a clear way. The plugin officers a list of different contraband items to request, along with the option to ask a player to exit a PVP safe zone, if your server implements them.


Player Features:
When an Officer or Guard asks a player for their contraband, a title sequence is displayed on the player's screen. This title displays the Guard or Officer who is asking, along with the contraband they are asking for.
Title Cropped.png

After the initial title sequence begins, the player is prompted with a 5 second countdown to hand over their contraband. This countdown also emits an audible sound to ensure it gets the player's attention. Once completed, the title then makes clear that if the player failed to comply, they will either be jailed or killed by the Officer or Guard.




Officer/Guard Features:
When an Officer or Guard asks a player to hand over their contraband, they will receive a message in chat confirming who they asked and what contraband they asked for. Additionally, all other Officers or Guards with the same permission will be broadcast a message that a player was asked to hand over their contraband.
ask message.png

Once the 5 second countdown has ended, the Officer or Guard will be sent a message informing them that the countdown is up for the player, at which point the Officer or Guard will take necessary action.
times up message.png

To reduce spam for both players and Officers/Guards, any officer is not able to ask a player for their contraband if they are currently viewing a countdown. This means that if two Officers or Guards try to ask for a single player's contraband, the player will only receive the countdown once.
wait message.png


Commands and Permissions:
In order for an Officer or Guard to be able to ask for contraband, they need the individual permission for each command. This allows server administrators to control what Officers or Guards can and cannot ask for.*
no permission.png
*Note that OPed players automatically have all permissions but administrators without OP will need to be given them.

Commands:

Diamond_Sword_JE1_BE1.png
/sword

Allows the Officer or Guard to ask for a player's sword.
Permission: ContrabandAsker.sword

Bow_JE2_BE1.png

/bow
Allows the Officer or Guard to ask for a player's bow.
Permission: ContrabandAsker.bow

Potion_of_Poison_JE2_BE2.png

/pot
Allows the Officer or Guard to ask for a player's potion.
Permission: ContrabandAsker.pot


Sugar_JE2_BE2.png
/drug
Allows the Officer or Guard to ask for a player's drugs.
Permission: ContrabandAsker.drug


Arrow_(item)_JE1_BE1.png
/arrow
Allows the Officer or Guard to ask for a player's arrows.
Permission: ContrabandAsker.arrow


/out
Allows the Officer or Guard to ask for a player to exit a safe zone.
Permission: ContrabandAsker.out


config.yml
Currently, the plugin has a config.yml that allows server owners to change the title of the message sent to the players along with the prefix that shows before all chat messages. Rather than 'ContrabandAsker', administrators have the option to tailor the plugin to their server's lore by changing the properties in the config file. An example of such would be changing the title to "Federal Bureau of Investigation" and the prefix as 'FBI'.

I am open to making the plugin more configurable over time so feel free to let me know your suggestions as to what I should add to the config.yml.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Contraband Asker is a free Minecraft Java mod. Compatible with Minecraft 1.15, 1.16. Downloaded 161 times (via Spigot). Download it and open it directly in the game.

Explore more