90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter versions...

Add 'lockout' functionality. Tested on 1.21.3

Adds this section to the config.yml:

# Should people be prevented from using homes they set before their permissions were adjusted to be lower? (i.e. they
# had permission to set 5 homes before, and now they only have permission to set 3)
lockout:
  enabled: false
  home: true
  homelist: false
  deletehome: false #dunno why you'd enable this unless you want people to be completely locked out but okay

Adds this line in the locale.yml, under 'errors'

  cannot-use-command: "<red>You currently have more than <dark_red><bold><value></bold></dark_red> homes. In order to use <gray><command></gray> you must first delete some homes.</red>"

Players that have homes.count.bypass will not be affected by this setting

Initial Release


Project members

Simplexity

Simplexity

Organization

Rhythmic

Owner

Details

Licensed MIT
Published 6 months ago
Updated a day ago