Usage/Towny

Towny Compatability brings one new command with three sub-commands, and a new config option. These are:

  • /bstowny - Allows you to set permissions of who can access bookshelves. This is as close to the actual towny permission setup as I could get it.
    • /bstowny town - Set bookshelf permissions for your town. (Mayors/Assistants/Ops can use this)
    • /bstowny resident - Set the default permissions for new player-owned plots in your town. (Mayors/Assistants/Ops can use this)
    • /bstowny plot - Set bookshelf permissions for player-owned plots (Mayors/Assistans/Ops have permission for every plot in the town, Residents have permission for their own plot.)

The commands are structured like this:
Level: [resident/ally/outsider] (resident is friend for plot/resident commands)
Type: [unlimited/toggle/shop/donate/name/open_shelf/open_shop]
/bstowny town set [on/off]
/bstowny town set [level/type] [on/off]
/bstowny town set [level] [type] [on/off]
/bstowny town set defaults

As you can see, very similar to Towny commands.

The new config is:

towny_support:
    enabled: false #Set this to true for Towny support!

A new file added is "towny.yml". It looks like this:

defaults:
    town:
        unlimited:
            resident: true
            ally: false
            outsider: false
        toggle:
            resident: true
            ally: false
            outsider: false
        shop:
            resident: true
            ally: false
            outsider: false
        donate:
            resident: true
            ally: false
            outsider: false
        name:
            resident: true
            ally: false
            outsider: false
        open_shelf:
            resident: true
            ally: false
            outsider: false
        open_shop:
            resident: true
            ally: false
            outsider: false
    resident:
        unlimited:
            friend: true
            ally: false
            outsider: false
        toggle:
            friend: true
            ally: false
            outsider: false
        shop:
            friend: true
            ally: false
            outsider: false
        donate:
            resident: true
            ally: false
            outsider: false
        name:
            friend: true
            ally: false
            outsider: false
        open_shelf:
            friend: true
            ally: false
            outsider: false
        open_shop:
            friend: true
            ally: false
            outsider: false
towns:

It is pretty self explanatory.