Closed #805, Impl the ability to toggle the display per shop

This commit is contained in:
Ghost_chu committed 2021-10-02 15:54:29 +08:00
1 parent 5866103f73
commit c7b5c8e8ce
5 files changed
+105 -7

No files matched your search

@@ -177,7 +177,8 @@
"unban": "&eUnbans a player from the shop",
"freeze": "&eDisable or Enable shop trading",
"lock": "&eSwitch the shop's lock status",
"taxaccount": "&eSet the tax account that shop using"
"taxaccount": "&eSet the tax account that shop using",
"toggledisplay": "&eToggle the shop display item status"
},
"disabled": "&cThis command is disabled: &e{0}",
"feature-not-enabled": "This feature is not enabled in the config file."
@@ -337,5 +338,7 @@
"client-language-unsupported": "&eQuickShop doesn't support your client language, we're fallback to {0} locale now.",
"taxaccount-set": "&aThis shop's tax account has been set to &e{0}",
"taxaccount-unset": "&aThis shop's tax account now following server global setting.",
"taxaccount-invalid": "&cTarget account not invalid, please enter a valid player name or uuid(with dashes)."
"taxaccount-invalid": "&cTarget account not invalid, please enter a valid player name or uuid(with dashes).",
"display-turn-on": "&aSuccessfully turn on the shop display.",
"display-turn-off": "&aSuccessfully turn off the shop display."
}
+11 -2
View File
@@ -63,6 +63,7 @@ permissions:
quickshop.preview: true
quickshop.currency: true
quickshop.taxaccount: true
quickshop.toggledisplay: true
quickshop.moderator:
description: The permission that provide all moderator need have permissions
default: op
@@ -76,6 +77,9 @@ permissions:
quickshop.other.changeitem: true
quickshop.other.changeamount: true
quickshop.other.staff: true
quickshop.other.currency: true
quickshop.other.taxaccount: true
quickshop.other.toggledisplay: true
quickshop.create.sell:
description: Allows a player to sell from a shop.
default: op
@@ -212,6 +216,11 @@ permissions:
description: Permission to use /qs taxaccount
default: op
quickshop.other.taxaccount:
description: Permission to use /qs taxaccount
description: Permission to use /qs taxaccount on others shops
default: op
quickshop.toggledisplay:
description: Permission to use /qs toggledisplay
default: op
quickshop.other.toggledisplay:
description: Permission to use /qs toggledisplay on others shops
default: op