- Denizen Version
- REL-1765
Area Selector Tool: a handy dandy tool to select and note areas from in-game!
Supported area shapes: Cuboids, Ellipsoids, Spheres, Polygons.
Featuring a super simple and clear in-game cuboid viewing thingo:
And ellipsoids
And polygons
Super easy to use:
GitHub: https://github.com/mcmonkeyprojects/DenizenSampleScripts/blob/master/selector_tool.dsc
# Installation:
# Just put the script in your scripts folder and reload.
#
# Usage:
# Type command "/seltool" to get a cuboid selector tool.
# Or "/seltool ellipsoid" for ellipsoids, "sphere" for spheres, or "polygon" for polygons.
# Requires permission "selector_tool.seltool"
#
# While holding a cuboid, ellipsoid, or sphere tool, left click to start a selection and right click to expand the selection.
#
# While holding a polygon tool, left click to start a selection, and right click to add a corner.
# Corners must be in a consistent order (you can't go back and forth).
# Use "/selheight" to raise or lower the polygon height to your current player height, or "/selheight 100" to raise or lower the polygon height to Y=100 for example.
# Requires permission "selector_tool.selheight"
#
# Use "/selnote [name]" to note your selected area as the name. For example, "/selnote myshop" adds noted area 'myshop'.
# Requires permission "selector_tool.selnote"
#
# Use "/selshow" to show your current cuboid selection.
# Requirers permission "selector_tool.selshow"
#
# If you have Depenizen and WorldEdit, this will automatically send your selections to WorldEdit as well.
#
# In a script or "/ex" command, use "<player.has_flag[seltool_selection]>" to check if the player has a selection.
# and "<player.flag[seltool_selection]>" to get the selected area.
# Flag "seltool_type" defines the current selection type (cuboid, ellipsoid, sphere, polygon).
#
Supported area shapes: Cuboids, Ellipsoids, Spheres, Polygons.
Featuring a super simple and clear in-game cuboid viewing thingo:
![22a56a.png](/proxy.php?image=https%3A%2F%2Fi.alexgoodwin.media%2Fi%2Fmisc%2F22a56a.png&hash=962ee71b1be7a6f8286e8901286109ce)
And ellipsoids
![0a1370.gif](/proxy.php?image=https%3A%2F%2Fi.alexgoodwin.media%2Fi%2Fmisc%2F0a1370.gif&hash=a6c397ab76d21bf23766288f7fd161a6)
And polygons
![5fb5c1.jpg](/proxy.php?image=https%3A%2F%2Fi.alexgoodwin.media%2Fi%2Fmisc%2F5fb5c1.jpg&hash=e8378b6429359f809696cccb551654ef)
Super easy to use:
![3742a7.gif](/proxy.php?image=https%3A%2F%2Fi.alexgoodwin.media%2Fi%2Fmisc%2F3742a7.gif&hash=4ab234cfe044a9230aefbe82e6bd116b)
GitHub: https://github.com/mcmonkeyprojects/DenizenSampleScripts/blob/master/selector_tool.dsc
# Installation:
# Just put the script in your scripts folder and reload.
#
# Usage:
# Type command "/seltool" to get a cuboid selector tool.
# Or "/seltool ellipsoid" for ellipsoids, "sphere" for spheres, or "polygon" for polygons.
# Requires permission "selector_tool.seltool"
#
# While holding a cuboid, ellipsoid, or sphere tool, left click to start a selection and right click to expand the selection.
#
# While holding a polygon tool, left click to start a selection, and right click to add a corner.
# Corners must be in a consistent order (you can't go back and forth).
# Use "/selheight" to raise or lower the polygon height to your current player height, or "/selheight 100" to raise or lower the polygon height to Y=100 for example.
# Requires permission "selector_tool.selheight"
#
# Use "/selnote [name]" to note your selected area as the name. For example, "/selnote myshop" adds noted area 'myshop'.
# Requires permission "selector_tool.selnote"
#
# Use "/selshow" to show your current cuboid selection.
# Requirers permission "selector_tool.selshow"
#
# If you have Depenizen and WorldEdit, this will automatically send your selections to WorldEdit as well.
#
# In a script or "/ex" command, use "<player.has_flag[seltool_selection]>" to check if the player has a selection.
# and "<player.flag[seltool_selection]>" to get the selected area.
# Flag "seltool_type" defines the current selection type (cuboid, ellipsoid, sphere, polygon).
#