- 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:
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).
#