Great for making a EULA compliant server! Grant a permission/rank with time limit!
HelpMessages:
banner:
msg: "=== &e[&aPermissionTimer Commands List (%version%)&e] &r==="
help:
msg: "/ptimer or /ptimer help : display this help menu."
reload:
msg: "/ptimer reload : Reload config.yml file."
permission: "permissiontimer.reload"
info:
msg: "/ptimer info [name] : Display your (or [name]'s) time-based permissions."
permission: "permissiontimer.info"
give:
msg: "/ptimer give [perm:perm_node] [time:duration] [world:worldname] [cost:$$$] [online:{true|false}] : Gives a permisison or a rank ."
permission: "permissiontimer.admin"
remove:
msg: "/ptimer remove : Removes the permission from ."
permission: "permissiontimer.admin"
giveaway:
msg: "/ptimer giveaway : Gives a permisison or a rank , that currently has (this will cancel expiry without removing the permission/rank)."
permission: "permissiontimer.admin"
# define your parameter and its value like:
Messages:
error_msg : "&c [PermTimer] : Some error occured."
NoPermissionMsg : "&2[&aPermTimer&2]&r You do not have permission for this command."
NotEnoughArgsMsg : "&2[&aPermTimer&2]&r Not enough arguments supplied."
YouDontHaveMsg : "&2[&aPermTimer&2]&r You currently do not have any time-based permissions."
PlayerDoesNotHaveMsg : "&2[&aPermTimer&2]&r The player (&6%player%&r) currently does not have any time-based permissions."
YouHaveFollowingMsg : "&2[&aPermTimer&2]&r You currently have the following time-based permissions:"
PlayerHasFollowingMsg : "&2[&aPermTimer&2]&r The player (&6%player%&r) currently has the following time-based permissions:"
PermExpirationDateMsg : "&2[&aPermTimer&2]&r %type% %commonname% expires in %expires%."
YourPermExpiredMsg : "&2[&aPermTimer&2]&r %commonname% for %player% has expired."
IllegalDataFormatMsg : "&cIllegal Data Format."
UserLimitReachedMsg : "&2[&aPermTimer&2]&r You have reached the maximum number of time you can use this permission!"
GivenToMsg : "&2[&aPermTimer&2]&r The permission &6%commonname%&r has been added to the player (&6%player%&r), and it will expire in &d%expires%&r."
PermissionRemovedFromMsg : "&2[&aPermTimer&2]&r The permission (&6%commonname%&r) has been removed from the player (&6%player%&r)."
PermissionGivenToMsg : "&2[&aPermTimer&2]&r The permission (&6%commonname%&r) has been given to the player (&6%player%&r)."
#
#
# if the following is true, expired permission will also be listed
# with /ptimer info command
DisplayExpired: false
#
#
#
Permissions:
fly:
expire: 24h
limit: 5
permission: essentials.fly
given_msg: "&2[&aPTimer&2]&r You've been given a permission to use &6%commonname%&r, and it will expire in &d%expires%&r."
expire_msg: "&2[&aPTimer&2]&r Your permission &6%commonname%&r has just expired."
limit_msg: "&2[&aPTimer&2]&r You've exceeded the limit."
pre_cmd:
- "fly %player% on"
post_cmd:
- "fly %player% off"
test2:
expire: 12h
limit: 2
permission: what.ever.permission2
online: true
Ranks:
Dev:
expire: 3m
limit: 1
given_msg: "&2[&aPTimer&2]&r You've been given a rank &6%commonname%&r in &\
6%world%&r, and it will expire in &d%expires%&r."
expire_msg: "&2[&aPTimer&2]&r Your rank &6%commonname%&r has just expired."
limit_msg: "&2[&aPTimer&2]&r You've exceeded the limit."
world:
# - "prison"
Tester:
expire: 3h
limit: 1
given_msg: "&2[&aPTimer&2]&r You've been given a rank &6%commonname%&r in &\
6%world%&r, and it will expire in &d%expires%&r."
expire_msg: "&2[&aPTimer&2]&r Your rank &6%commonname%&r has just expired."
limit_msg: "&2[&aPTimer&2]&r You've exceeded the limit."
world:
# - "testworld"
online: true