![[SimplePetsAddon] WorldRestriction Addon](https://cdn.modrinth.com/data/LDJFcdu0/53069bb1f40260468125f5cb9e50868633f3501c_96.webp)
[SimplePetsAddon] WorldRestriction Addon
This addon simply restricts certain tasks from happening in certain worlds
318
1
What is this addon?
This is a simple SimplePets Addon that allows server owners/admins restrict what can happen in certain worlds, such as pet mounting and making them a hat
Plugin/Resource Links:
- SimplePets (REQUIRED)
How to install:
The addon can be installed a few different ways it can be done via the install command, via the GUI installer, or manually
Install via Command: (Easiest)
- Simply type the /pet addon install WorldRestrictioncommand It will also attempt to load and enable it
Install via GUI Installer:
- Run the /pet addoncommand
- Click the Install Addonsitem that is in the bottom row of the GUI
- Locate the WorldRestrictionitem in the GUI
- Once found simply click it
NOTE: If it gets stuck saying "Installing..." then check your console for any errors, If there are none then try one of the other methods.
Install Manually:
- Open the SimplePets plugin folder
- Open the Addonsfolder (If the folder is not there then simply create one)
- Download the addon from one of the download locations
- Drop the addons jar file into the Addonsfolder
- Restart your server (This is to actually get the addon loaded into the plugin)
Default Config:
world-restrictions:
  pet-riding:
    # Should this restriction be enabled?
    enabled: false
    
    # List the worlds that pet riding should not be allowed in here.
    list:
    - world_nether
    
    # This message gets sent to the player when they try to ride a pet in a blocked world
    reason: '&cPet riding is disabled in this world'
    
  pet-hat:
    # Should this restriction be enabled?
    enabled: false
    
    # List the worlds that pet hats should not be allowed in here.
    list:
    - world_nether
    
    # This message gets sent to the player when they try to put their pet on their head in a blocked world
    reason: '&cPutting your pet on your head is disabled in this world'
Совместимость
Создатели
Детали
Лицензия:GPL-3.0-only
Опубликован:2 года назад
Обновлён:2 года назад