Redstone Proximity Sensor

RPS Logo

Redstone Proximity Sensor

Please Subscribe to File Updates (Menu Above > Subscriptions > File Updates)

Latest Download (2.0.0) - Not yet dead

If the latest download is not 2.0.0 then please wait for the latest file to be approved.

Quote:

2.0.0

  • Fixed rps setrange from not working at all
  • Fixed the updater notice showing when turned off
  • Added some unused code for next version
  • Cleaned up a bit of code and added some comments for Github.

Features

This plugin allows you to craft a Proximity Sensor, or an Inverted Proximity Sensor, that when placed down will provide a redstone current when a player is within the defined range. Ranges can be changed instantly, as well as many other configs. Read below to know more.

Install

Drag and drop Installation. Afterword do a restart or reload.
There is config files that you can edit to change some basic settings.

How-to Video

Commands

All commands require redstonesensor.commands permission. wand and setrange commands require redstonesensor.customrange permission.

  • /rps maxrange <number>
  • Changes the max range allowed to be set by any redstone proximity sensors. Range does not change performance.
  • /rps defaultrange <number>
  • Changes the range all new redstone proximity sensors are set to when placed down.
  • /rps reload
  • Reloads the plugin. Really not needed unless changing the config file manually.
  • /rps wand
  • Gives the user the RPS Wand.
  • /rps setrange
  • Creates the custom range from the cuboid selection made using a RPS Wand.

Making a RPS

Making a RPS has become very simple now in 1.6. Just 3 redstone torches in the crafting table makes it.
http://ugleh.com/ss/1359429317-f.png
Creating the opposite effect, the NOT RPS which makes the circuit on when away, off when close. In the config I will change the word NOT to Inverted. I only named it NOT because it means the same thing, and its shorter.
http://ugleh.com/ss/1359429444-e.png

Changing Range

To change the range on the RPS (Redstone Proximity Sensor) you right click the redstone torch in question, and it will output the new range for you. Max range can be set in the config file or using the commands.

Creating a Custom Range

Added to 1.9.5 is the ability to create a custom range using the RPS, or the inverted RPS.
\ First, make sure you or your members have access to redstonesensor.customrange. Custom Range was more so as an admin tool and is the permission is not set to true by default.
First, you must create a cuboid selection. To do so you need to type '/rps wand'. Once given the wand, Left clicking a block with the RPS Wand marks that block as the first corner of the cuboid you wish to select. A right-click chooses the second corner. Once both corners are selected go to the RPS that you wish to set with the custom range. Then type '/rps setrange' while aiming at the RPS or the block under the RPS.
Once set the RPS will now have a custom range. The RPS will create a current when a player is within the specified range, if its an Inverted RPS then the opposite.

Permissions

  • redstonesensor.commands
  • Gives use to the commands.
  • redstonesensor.use
  • Gives the ability to use a Redstone Proximity Sensor. They will still be able to change the range, or break it.
  • redstonesensor.create
  • Gives the ability to create a Redstone Proximity Sensor. They will be able to craft it
  • redstonesensor.customrange
  • Gives access to using the RPS Wand and Setting the Custom range.

To-Do

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Ugleh Ugleh May 24, 2013 at 01:52 UTC - 0 likes

    @OmniRowdy: Go

    ComputerCraft and RedstoneSensor is not compatible because we both use the same block... I guess that's what I am reading from the error. Try it without CC and see if it works. If it does then I will see what I can do about it being not compatible, but in all honesty some plugins just don't work together. I think CC uses a ccSensor or something.

  • Avatar of OmniRowdy OmniRowdy May 23, 2013 at 20:12 UTC - 0 likes

    15:09:05 [INFO] ComputerCraft: Searching for RedPowerLib... 15:09:05 [INFO] ComputerCraft: RedPowerLib and methods located. 15:09:05 [INFO] CONFLICT @ -48 item slot already occupied by dan200.computer.sha red.ItemPeripheral@183b7230 while adding net.minecraft.server.ItemBlock@66c5b9bd

    15:09:06 [INFO] CONFLICT @ 1237 item slot already occupied by ccSensors.shared.I temWiFiTransmitter@1814786f while adding ccSensors.shared.ItemWiFiTransmitter@67 eecbc2 15:09:06 [INFO] CONFLICT @ -41 item slot already occupied by ccSensors.shared.It emComputerSensorBlock@3a76fd2e while adding net.minecraft.server.ItemBlock@59e7f 4fe 15:09:06 [INFO] [ccSensors] INFO: Loading SensorModule: Buildcraft 15:09:06 [INFO] [ccSensors] INFO: Loading SensorModule: IndustrialCraft2 15:09:06 [INFO] [ccSensors] INFO: Loading SensorModule: Forestry 15:09:06 [INFO] [ccSensors] INFO: mod_Forestry not found - SensorModule is disab led. 15:09:06 [INFO] [ccSensors] INFO: Loading SensorModule: RedPower2 15:09:06 [INFO] [ccSensors] INFO: Loading SensorModule: EquivalentExchange 15:09:06 [INFO] [ccSensors] INFO: Loading SensorModule: APS 15:09:06 [INFO] [ccSensors] INFO: mod_BuildcraftAPS not found - SensorModule is disabled. 15:09:06 [INFO] [ccSensors] INFO: Loading SensorModule: APS 15:09:06 [INFO] [ccSensors] INFO: mod_ThaumCraft not found - SensorModule is dis abled. 15:09:06 [INFO] CONFLICT @ -78 item slot already occupied by net.minecraft.serve r.ItemBlock@67575e30 while adding codechicken.enderstorage.ItemEnderChest@18e8d6 51 15:09:06 [INFO] CompactSolars: MinecraftForge minor version mismatch, expecting 3.2.x, may lead to unexpected behavior 15:09:06 [INFO] CONFLICT @ -204 item slot already occupied by net.minecraft.serv er.ItemWithAuxData@281de7b2 while adding net.minecraft.server.ItemMobSpawner@435 66bb1 15:09:06 [INFO] RedPowerCore: MinecraftForge minor version mismatch, expecting 3 .1.x, may lead to unexpected behavior 15:09:06 [INFO] Starting BuildCraft 2.2.14 15:09:06 [INFO] Copyright (c) SpaceToad, 2011 15:09:06 [INFO] http://www.mod-buildcraft.com 15:09:06 [INFO] [IC2] Loading IC2 submodule: bcIntegration22x 15:09:06 [INFO] [IC2] BuildCraft integration module loaded 15:09:06 [INFO] [IC2] Loaded minor compatibility modules: none 15:09:07 [INFO] ComputerCraft: turtleBlockID 216 15:09:07 [INFO] CONFLICT @ -40 item slot already occupied by dan200.turtle.share d.ItemTurtle@64656b4a while adding net.minecraft.server.ItemBlock@3e66fac4 15:09:07 [INFO] Forge Mod Loader load complete, 38 mods loaded 15:09:07 [INFO] This server is running CraftBukkit version git-Bukkit-jenkins-Cr aftBukkit-173 (MC: 1.2.5) (Implementing API version 1.2.5-R4.1-MCPC-SNAPSHOT) 15:09:07 [WARNING] Could not get information about this CraftBukkit version; per haps you are running a custom one?: FileNotFoundException 15:09:07 [INFO] [SecretDoors] Loading SecretDoors v1.1 15:09:07 [INFO] Loading mod_WirelessRedstoneAddons vForgeMod 15:09:07 [INFO] Loading mod_IronChest vForgeMod 15:09:07 [INFO] Loading mod_IC2_ChargingBench vForgeMod 15:09:07 [INFO] Loading mod_BuildCraftEnergy vForgeMod 15:09:07 [INFO] Loading mod_RedPowerWiring vForgeMod 15:09:07 [INFO] Loading mod_MinecraftForge vForgeMod 15:09:07 [INFO] [WorldEdit] Loading WorldEdit v5.5.6 15:09:07 [INFO] Loading mod_RedPowerControl vForgeMod 15:09:07 [INFO] Loading mod_BuildCraftCore vForgeMod 15:09:07 [INFO] Loading mod_ImmibisCore vForgeMod 15:09:07 [INFO] [ProximityDetector] Loading ProximityDetector v1.2 15:09:07 [INFO] Loading mod_BuildCraftFactory vForgeMod 15:09:07 [INFO] Loading mod_IC2 vForgeMod 15:09:07 [INFO] Loading mod_BuildCraftBuilders vForgeMod 15:09:07 [INFO] Loading mod_RedPowerMachine vForgeMod 15:09:07 [INFO] Loading mod_RedPowerLighting vForgeMod 15:09:07 [INFO] Loading mod_NetherOres vForgeMod 15:09:07 [INFO] [WorldGuard] Loading WorldGuard v5.7.4 15:09:07 [INFO] [RedstoneSensor] Loading RedstoneSensor v1.9.7 15:09:07 [INFO] Loading mod_RedPowerWorld vForgeMod 15:09:07 [INFO] Loading mod_ComputerCraft vForgeMod 15:09:07 [INFO] Loading mod_EE vForgeMod 15:09:07 [INFO] Loading mod_TubeStuff vForgeMod 15:09:07 [INFO] Loading mod_BuildCraftTransport vForgeMod 15:09:07 [INFO] Loading mod_NotEnoughItems vForgeMod 15:09:07 [INFO] Loading mod_PowerConverters vForgeMod 15:09:08 [INFO] Loading mod_AdditionalPipes vForgeMod 15:09:08 [INFO] Loading mod_Railcraft vForgeMod 15:09:08 [INFO] Loading mod_IC2AdvancedMachines vForgeMod 15:09:08 [INFO] Loading mod_CCTurtle vForgeMod 15:09:08 [INFO] Loading mod_RedPowerCore vForgeMod 15:09:08 [INFO] Loading mod_RedPowerLogic vForgeMod 15:09:08 [INFO] Loading mod_WirelessRedstoneRedPower vForgeMod 15:09:08 [INFO] Loading mod_IC2NuclearControl vForgeMod 15:09:08 [INFO] Loading mod_ModularForceFieldSystem vForgeMod 15:09:08 [INFO] Loading mod_ImmiChunkLoaders vForgeMod 15:09:08 [INFO] Loading mod_ccSensors vForgeMod 15:09:08 [INFO] Loading mod_CompactSolars vForgeMod 15:09:08 [INFO] Loading mod_EnderStorage vForgeMod 15:09:08 [INFO] Loading mod_WirelessRedstoneCore vForgeMod 15:09:08 [INFO] Loading Balkon's WeaponMod vForgeMod 15:09:08 [INFO] Loading mod_CodeChickenCore vForgeMod 15:09:08 [INFO] Preparing level "world" 15:09:08 [INFO] Default game type: 0 15:09:08 [INFO] Registering world world, dimension 0, of providertype net.minecr aft.server.WorldProviderNormal@c0cdd62(0) with Minecraft Forge 15:09:08 [INFO] Registering world world_the_end, dimension 1, of providertype ne t.minecraft.server.WorldProviderTheEnd@4c45d8fb(0) with Minecraft Forge 15:09:08 [INFO] Registering world world_nether, dimension -1, of providertype ne t.minecraft.server.WorldProviderHell@1277b490(0) with Minecraft Forge 15:09:08 [INFO] Preparing start region for level 0 (Seed: -6140761428408079589) 15:09:08 [INFO] Preparing start region for level 1 (Seed: -6140761428408079589) 15:09:08 [INFO] Preparing start region for level 2 (Seed: -6140761428408079589) 15:09:09 [INFO] Preparing spawn area: 85% 15:09:09 [INFO] [SecretDoors] Enabling SecretDoors v1.1 15:09:09 [WARNING] [SecretDoors] Could not save config.yml to plugins\SecretDoor s\config.yml because config.yml already exists. 15:09:09 [INFO] [WorldEdit] Enabling WorldEdit v5.5.6 15:09:09 [INFO] WEPIF: Using the Bukkit Permissions API. 15:09:09 [INFO] [ProximityDetector] Enabling ProximityDetector v1.2 15:09:09 [SEVERE] Error occurred while enabling ProximityDetector v1.2 (Is it up to date?) java.lang.NoSuchMethodError: org.bukkit.scheduler.BukkitScheduler.runTaskTimerAs ynchronously(Lorg/bukkit/plugin/Plugin;Ljava/lang/Runnable;JJ)Lorg/bukkit/schedu ler/BukkitTask; at ca.shaw.andrewbailey.Metrics.start(Metrics.java:223) at ca.shaw.andrewbailey.ProximityDetector.enableMetrics(ProximityDetecto r.java:114) at ca.shaw.andrewbailey.ProximityDetector.onEnable(ProximityDetector.jav a:47) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:337) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:386) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:264) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:246 ) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:387) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:374) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:208) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 15:09:09 [INFO] [WorldGuard] Enabling WorldGuard v5.7.4 15:09:09 [INFO] [WorldGuard] (world) TNT ignition is PERMITTED. 15:09:09 [INFO] [WorldGuard] (world) Lighters are PERMITTED. 15:09:09 [INFO] [WorldGuard] (world) Lava fire is blocked. 15:09:09 [INFO] [WorldGuard] (world) Fire spread is UNRESTRICTED. 15:09:09 [INFO] [WorldGuard] Loaded configuration for world 'world' 15:09:09 [INFO] [WorldGuard] (world_the_end) TNT ignition is PERMITTED. 15:09:09 [INFO] [WorldGuard] (world_the_end) Lighters are PERMITTED. 15:09:09 [INFO] [WorldGuard] (world_the_end) Lava fire is blocked. 15:09:09 [INFO] [WorldGuard] (world_the_end) Fire spread is UNRESTRICTED. 15:09:09 [INFO] [WorldGuard] Loaded configuration for world 'world_the_end' 15:09:09 [INFO] [WorldGuard] (world_nether) TNT ignition is PERMITTED. 15:09:09 [INFO] [WorldGuard] (world_nether) Lighters are PERMITTED. 15:09:09 [INFO] [WorldGuard] (world_nether) Lava fire is blocked. 15:09:09 [INFO] [WorldGuard] (world_nether) Fire spread is UNRESTRICTED. 15:09:09 [INFO] [WorldGuard] Loaded configuration for world 'world_nether' 15:09:09 [INFO] [WorldGuard] 1 regions loaded for 'world' 15:09:09 [INFO] [WorldGuard] 0 regions loaded for 'world_the_end' 15:09:09 [INFO] [WorldGuard] 0 regions loaded for 'world_nether' 15:09:09 [SEVERE] Plugin WorldGuard is attempting to register event org/bukkit/e vent/player/AsyncPlayerChatEvent, which does not exist. Ignoring events register ed in class com.sk89q.worldguard.bukkit.WorldGuardPlayerListener 15:09:09 [SEVERE] Plugin WorldGuard is attempting to register event org/bukkit/e vent/block/BlockExpEvent, which does not exist. Ignoring events registered in cl ass com.sk89q.worldguard.bukkit.WorldGuardBlockListener 15:09:09 [INFO] [RedstoneSensor] Enabling RedstoneSensor v1.9.7 15:09:09 [SEVERE] Error occurred while enabling RedstoneSensor v1.9.7 (Is it up to date?) java.lang.NoSuchMethodError: org.bukkit.inventory.ItemStack.getItemMeta()Lorg/bu kkit/inventory/meta/ItemMeta; at com.ugleh.redstonesensor.RedstoneSensor.onEnable(RedstoneSensor.java: 122) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:337) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:386) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:264) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:246 ) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:387) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:374) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:208) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 15:09:09 [INFO] Server permissions file permissions.yml is empty, ignoring it 15:09:09 [INFO] Done (1.629s)! For help, type "help" or "?" 15:09:09 [INFO] [Railcraft] Loaded 0 saved Anchors 15:09:50 [SEVERE] Could not pass event EntityChangeBlockEvent to WorldGuard org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:304) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:482) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:467) at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityChangeBlockE vent(CraftEventFactory.java:428) at net.minecraft.server.PathfinderGoalEatTile.e(PathfinderGoalEatTile.ja va:67) at net.minecraft.server.PathfinderGoalSelector.a(PathfinderGoalSelector. java:74) at net.minecraft.server.EntityLiving.z_(EntityLiving.java:1287) at net.minecraft.server.EntitySheep.z_(EntitySheep.java:44) at net.minecraft.server.EntityLiving.e(EntityLiving.java:1165) at net.minecraft.server.EntityAgeable.e(EntityAgeable.java:36) at net.minecraft.server.EntityAnimal.e(SourceFile:30) at net.minecraft.server.EntitySheep.e(EntitySheep.java:52) at net.minecraft.server.EntityLiving.F_(EntityLiving.java:456) at net.minecraft.server.World.entityJoinedWorld(World.java:1286) at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:1 11) at net.minecraft.server.World.playerJoinedWorld(World.java:1268) at net.minecraft.server.World.tickEntities(World.java:1164) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:569) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NoSuchFieldError: WITHER at com.sk89q.worldguard.bukkit.WorldGuardEntityListener.onEntityChangeBl ock(WorldGuardEntityListener.java:879) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:302) . here it is

    Last edited May 23, 2013 by OmniRowdy
  • Avatar of Ugleh Ugleh May 23, 2013 at 11:09 UTC - 0 likes

    @OmniRowdy: Go

    What version of Bukkit do you have? Also, if you can place the whole error including the gibberish, that would be nice.

    Last edited May 23, 2013 by Ugleh
  • Avatar of OmniRowdy OmniRowdy May 23, 2013 at 03:55 UTC - 0 likes

    I keep getting an error when loading the server that says "could not pass event PlayerInteractEvent to RedStoneSensor org.bukkit.event.EventException". And another one that says "could not pass event BlockPlaceEvent to RedStoneSensor org.bukkit.event.EventException"

  • Avatar of Ugleh Ugleh May 19, 2013 at 08:59 UTC - 0 likes

    Like ive said in past comments in the last 3 months I was away. I am back and I took some time to fixing any bugs that where there. I fixed the update bug showing the alert even if its off. Because you set the update check to off the update check variable stayed false which triggered the message on join, however it wasn't a true outdated message.

    Second bug I fixed was with the custom range. I was using the old method in seeing if the torch was an RPS. I fixed it. Ive been playing around looking for bugs and have not found any. Ill put an update out tomorrow.

  • Avatar of Ugleh Ugleh May 08, 2013 at 01:26 UTC - 0 likes

    @Oli1593: Go

    Ive been working hard on my free time to make sure 2.0 will work without any problems from new features. It is a checkpoint in this plugins life so I want to make sure everything is working nicely.

  • Avatar of Oli1593 Oli1593 May 07, 2013 at 20:03 UTC - 0 likes

    @Marium0505: Go

    As far as I'm aware (not fully tested all parts but most of the plugin) yes.

    http://cache.www.gametracker.com/server_info/109.169.20.197:25565/b_560_95_3.png

  • Avatar of Marium0505 Marium0505 May 06, 2013 at 13:35 UTC - 0 likes

    Does this work on 1.5.2?

  • Avatar of Oli1593 Oli1593 May 02, 2013 at 20:32 UTC - 0 likes

    @Ugleh: Go

    Sorry I meant the custom detection zone (using the wand) didn't work as far as I recall.

    And to clarify, the bug is when you are relatively south east of the sensor, it's range is lowered slightly (so if default sensing range is 3, when you are southeast it only turns on when you are 2 from the sensor, etc). I can make a quick video/screenshots to show you if that'd be easier?

  • Avatar of Ugleh Ugleh Apr 25, 2013 at 03:43 UTC - 0 likes

    @Oli1593: Go

    Custom Sensing doesn't exist. A real life sensor can not detect a specific person, so I decided out of slight realism I would not add it. However I may add it in the future with a separate permission.

Facts

Date created
Jan 10, 2013
Categories
Last update
May 19, 2013
Development stage
Release
Language
  • enUS
License
All Rights Reserved
Curse link
Redstone Proximity Sensor
Downloads
3,793
Recent files
  • R: 2.0.0 for 1.5.2 May 19, 2013
  • R: 1.9.9 for 1.4.7 Mar 10, 2013
  • R: 1.9.8 for 1.4.7 Mar 02, 2013
  • R: 1.9.7 for 1.4.7 Feb 23, 2013
  • R: 1.9.6 for 1.4.7 Feb 12, 2013

Authors