Examples/simple/generic

Simple example: transient-groups (RSP 1.0.0-DEV-3)

This example lets all (default) users use the command '/time add <amount> ' inside a specific region.

World name: world
Region name: test_rsp (to be created with WorldGuard)


Notes:

  • Make the region big enough to allow for some inaccuracy with a lazy-dist setting of 5, or adjust lazy-dist to a lower value (at the cost of some performance).
  • If your world name differs from 'world', then change it in the links section of the RSP configuration.
  • In this example no filter permission is used, so everyone can use it, if you want to set it, you have to add it to the players or groups using your permission plugin.

/plugins/RSP/rsp.yml

# DEFAULT CONFIGURATION OF RSP 0.12.0-DEV-3
create-portals: false
errors:
    log:
        min-delay: 10000
stats:
    use: true
    show:
        range: false
    log: false
load-plugins: []
permissions:
    saving-period: 180
    save:
        on-check: false
        on-checkout: false
    use-worlds: true
player-cache:
    lifetime: 12345
generic-links:
    ownership: []
    online: []
heuristic:
    lazy-dist: 5
confine:
    enabled: false
# ADDED PARTS (PERMDEFS + LINKS)
# PERMDEFS:
permdefs:
    test_time:
        ignore-perm: test.ignore.test
        # No filter perm used, uncomment to use:
        # filter-perm: test.test.test
        have-inside:
            groups:
            - timetest
# LINKS:
links:
    world:
        test_rsp:
        - test_time
# TRANSIENT-GROUPS:
transient-groups:
  timetest:
  - bukkit.command.time.add