mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2024-09-30 07:27:49 +02:00
adding requested changes
This commit is contained in:
parent
5f2623d709
commit
02f596fc3a
@ -253,7 +253,7 @@ public class MapItemManager implements Listener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!Permissions.PLACE_SPLATTER_MAP.grantedTo(player)) {
|
if (!Permissions.PLACE_SPLATTER_MAP.grantedTo(player)) {
|
||||||
player.sendMessage(ChatColor.RED + "You do not have permission to place splatter maps.");
|
player.sendMessage(I.t(ChatColor.RED + "You do not have permission to place splatter maps."));
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -30,6 +30,7 @@ permissions:
|
|||||||
imageonmap.explore: true
|
imageonmap.explore: true
|
||||||
imageonmap.exploreother: false
|
imageonmap.exploreother: false
|
||||||
imageonmap.rename: true
|
imageonmap.rename: true
|
||||||
|
imageonmap.placesplattermap: true
|
||||||
imageonmap.removesplattermap: true
|
imageonmap.removesplattermap: true
|
||||||
imageonmap.delete: true
|
imageonmap.delete: true
|
||||||
imageonmap.deleteother: false
|
imageonmap.deleteother: false
|
||||||
@ -86,6 +87,10 @@ permissions:
|
|||||||
description: "Allows you to delete a map a player rendered in the past."
|
description: "Allows you to delete a map a player rendered in the past."
|
||||||
default: op
|
default: op
|
||||||
|
|
||||||
|
imageonmap.placesplattermap:
|
||||||
|
description: "Allows you to place a splatter map."
|
||||||
|
default: true
|
||||||
|
|
||||||
imageonmap.removesplattermap:
|
imageonmap.removesplattermap:
|
||||||
description: "Allows you to remove a splatter map from a wall by sneaking and breaking a map."
|
description: "Allows you to remove a splatter map from a wall by sneaking and breaking a map."
|
||||||
default: true
|
default: true
|
||||||
|
Loading…
Reference in New Issue
Block a user