Description:
X-Ray is a common cheat which we have all come into contact with at one point or another, and most server owners dislike it due to the difficulty involved in automatic detection. What if you allow players to use x-ray, but you now have control over every aspect of it. X-Ray Torch allows you, the server owner, to give players the ability to gain temporary x-ray vision in a limited area around them. With the ability to control x-ray given to players, there is a far lower reason for cheaters to use a third party x-ray tool.
Screenshots:
Versions:
X-Ray Torch is tested on 1.8-1.12. It will not work on 1.7 due to it's use of barriers and the lack of barriers in Minecraft 1.7.x.
Installation:
The installation for this is very simple. Download the jar file and place it into your plugins folder, start your server, configure the plugin to your liking and finally restart your server or reload the plugin!
Permissions/Commands:
> xrt.get | /xrt (amount) (target) - This will give the user the specified amount of X-Ray Torches. If no amount is specified, it will give one. If a target is specified afterwards, the torches will be given to them assuming they are online.
> xrt.reload | /xrt reload - This will reload the configuration file to avoid having to restart your server or reload the plugin.
Config:
The config file provides a means to customize X-Ray Torch to it's fullest potential. A copy can be found below, if any settings are missing feel free to contact me and I will do my best to add them!
TorchItem:
# This is the item of the X-Ray Torch.
# A reference for Spigot material values can be found here https://goo.gl/ckXbWz.
Material: 'REDSTONE_TORCH_ON'
# This is the display name of the torch item.
Name: '&c&lX-Ray Torch'
# This is the lore of the torch item.
Lore:
- '&8Place this to gain temporary xray vision!'
XRaySettings:
# If true, this will ignore Radius and use PermRadius to define radii.
PermissionBasedRadius: false
# The radius of the X-Ray effect for the player using it.
Radius: 5
# You can include any amount of these, and a player with many of them will always be given the highest.
# The format is 'permission node': radius, and they can be anything.
PermRadius:
# Note: 'xrt.radius.' will be appended onto the front this.
# Note 2: do not use '.' in the node name.
5: 5
10: 10
# Similar to PermissionBasedRadius, if true, the duration will be based on PermDuration rather than Duration.
PermissionBasedDuration: false
# The amount of time, in seconds, which the x-ray will be active.
Duration: 5
# Again, similar to PermRadius, you can include any number of these and the largest will be used.
# The format is 'permission node': duration, and they can be anything.
PermDuration:
# Note: 'xrt.duration.' will be appended onto the front this.
# Note 2: do not use '.' in the node name.
5: 5
10: 10
# If true, WorldBlockWhitelist will be used in place of BlockWhitelist.
PerWorldWhitelist: false
# The block materials which will be hidden while x-ray is active.
# A reference for Spigot material values can be found here https://goo.gl/ckXbWz.
BlockWhitelist:
- 'STONE'
- 'DIRT'
- 'GRASS'
# This can include any number of world names, if you have custom ones that is fine too.
# The format is a world name then list of blocks to hide under it.
WorldBlockWhitelist:
world:
- 'STONE'
- 'DIRT'
- 'GRASS'
world_the_nether:
- 'NETHERRACK'
world_the_end:
- 'OBSIDIAN'
- 'ENDER_STONE'
# The messages for enabling and disabling xray vision.
# Set these to 'none' for no message to be sent.
EnabledMessage: 'enabled'
DisabledMessage: 'disabled'
Contact/Support:
Any issues or support questions should be sent in a direct message on spigot or in the discussions page for this resource. If you have any feature requests, feel free to send them in a direct message on spigot or add me on Discord at bhop_#0001.
Thanks:
Thanks for downloading X-Ray Torch, I hope if lives up to your expectations. If it did and you would like to support me with a donation, a link is provided above. Alternatively, if you would like to provide moral support instead, you can do that in a direct message on spigot :)
A Different Note:
If anyone looking at this has experience with making small logos and little bits of art for plugins and threads, please add me on discord I would love to have a conversation about buying some bits. Thanks!
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta