04-04-2014, 08:15 PM
That would be doable.
But then, why have a special item / block for that, when you can define the elevators using commands? Once you decide to store the elevators in a storage of a kind (SQLite, preferably), there's no need for the special item. Just make a set of commands for defining the elevator, and you're done.
Might I suggest a command set like the following?
"/elevator create up" - Creates an "up" elevator from the pressure plate / button that the player is looking at
"/elevator create down" - Same for "down"
"/elevator delete" - Removes the elevator function from the pressure plate / button that the player is looking at
Note that I have specified the commands using "block that the player is looking at", because if you decided to use "current player position" instead, a pressure plate with an assigned elevator function won't be possible to delete.
But then, why have a special item / block for that, when you can define the elevators using commands? Once you decide to store the elevators in a storage of a kind (SQLite, preferably), there's no need for the special item. Just make a set of commands for defining the elevator, and you're done.
Might I suggest a command set like the following?
"/elevator create up" - Creates an "up" elevator from the pressure plate / button that the player is looking at
"/elevator create down" - Same for "down"
"/elevator delete" - Removes the elevator function from the pressure plate / button that the player is looking at
Note that I have specified the commands using "block that the player is looking at", because if you decided to use "current player position" instead, a pressure plate with an assigned elevator function won't be possible to delete.