Performs a lot of various changes
Adds some new command classes Adds support for several languages Adds README Updates Java and Spigot versions Adds command info and additional permission info to plugin.yml Implements manual sign creation request cancelling
This commit is contained in:
@ -1,17 +1,35 @@
|
||||
name: PermissionSigns
|
||||
version: '${project.version}'
|
||||
main: net.knarcraft.permissionsigns.Permissionsigns
|
||||
api-version: 1.17
|
||||
api-version: 1.18
|
||||
prefix: PermissionSigns
|
||||
depend: [ Vault ]
|
||||
authors: [ EpicKnarvik97 ]
|
||||
description: A plugin for selling permissions using signs
|
||||
website: git.knarcraft.net
|
||||
|
||||
permissions:
|
||||
commands:
|
||||
permissionsigns:
|
||||
aliases:
|
||||
- ps
|
||||
- permsigns
|
||||
- permsign
|
||||
- signperm
|
||||
- signperms
|
||||
description: Used for all permission sign commands
|
||||
usage: /<command> <about/create/cancel/reload> - Used for all permission sign commands
|
||||
permissions:
|
||||
permissionsigns.use:
|
||||
description: Allows players to use the permission signs
|
||||
default: true
|
||||
permissionsigns.admin:
|
||||
description: Allows all administrative tasks such as creating permission signs and reloading
|
||||
default: op
|
||||
children:
|
||||
permissionsigns.admin.reload: true
|
||||
permissionsigns.admin.create: true
|
||||
permissionsigns.admin.reload:
|
||||
description: Allows the usage of the /reload command
|
||||
default: op
|
||||
permissionsigns.admin.create:
|
||||
description: Allows players to create/destroy permissionsigns
|
||||
default: op
|
11
src/main/resources/strings.yml
Normal file
11
src/main/resources/strings.yml
Normal file
@ -0,0 +1,11 @@
|
||||
en:
|
||||
PREFIX: "[PermSign]"
|
||||
MISSING_CREATION_INFO: "You must specify a sign name and a comma-separated list of permissions to create a permission sign"
|
||||
TIME_UNIT: "seconds"
|
||||
PERMANENT: "Permanent"
|
||||
COST_FREE: "Free"
|
||||
COST_INVALID_NUMBER: "The given cost is not a valid number"
|
||||
DURATION_INVALID_NUMBER: "The given duration is not a valid number"
|
||||
COMMAND_PLAYER_ONLY: "This command is only available to players"
|
||||
PERMISSION_SIGN_DESTROY_DENY: "You do not have permissions to delete a permissions sign"
|
||||
PERMISSION_SIGN_REMOVED: "Permissions sign removed"
|
Reference in New Issue
Block a user