Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.16 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.16 KB
CodeFactor

WorldRestrictedAddon

This is an addon for the SimplePets v5 plugin.

It aims to block certain tasks from certain worlds.

Default configuration (Located in plugins/SimplePets/Addons/config/WorldRestriction.yml)

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'