mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2025-12-30 20:29:18 +00:00
Add permission to disable info
This commit is contained in:
@@ -37,6 +37,8 @@ public class RPGRegionsCommand extends BaseCommand {
|
||||
|
||||
@Default
|
||||
public void onDefault(CommandSender sender) {
|
||||
if (sender.hasPermission("rpgregions.noview") && !sender.isOp()) return;
|
||||
|
||||
sender.sendMessage(ChatColor.YELLOW + "Wiki > " + plugin.getDescription().getWebsite());
|
||||
sender.sendMessage(ChatColor.YELLOW + "Bugs > https://gitlab.com/SamB440/rpgregions-2");
|
||||
sender.sendMessage(ChatColor.YELLOW + "Discord > https://discord.gg/fh62mxU");
|
||||
|
||||
Reference in New Issue
Block a user