Skip to content

gaborszita/RealisticElevator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RealisticElevator

RealisticElevator is a plugin for Minecraft which lets players create elevators.

Commands

Command Description Usage Arguments Permission
/elevator adddoor Adds a door to an elevator. /elevator adddoor [elevator name] [x] [y] [z] [elevator name] - Name of the elevator to add the door to.
[x] [y] [z] - Coordinates of the door relative to the elevator's master block (block of the elevator whose coordinates are the smallest).
realisticelevator.adddoor
/elevator addfloor Adds a floor to an elevator. /elevator addfloor [elevator name] [floor number] [x] [y] [z] [elevator name] - Name of the elevator
[floor number] - Floor number
[x] [y] [z] - Coordinates of the door relative to the elevator's master block (block of the elevator whose coordinates are the smallest).
realisticelevator.addfloor
/elevator addfloordoor Adds a door to an elevator floor. /elevator addfloordoor [elevator name] [floor number] [x] [y] [z] [elevator name] - Name of the elevator
[floor number] - Floor number
[x] [y] [z] - Coordinates of the door
realisticelevator.addfloordoor
/elevator create Creates a new elevator in a cuboid area. /elevator create create [name] [x1] [y1] [z1] [x2] [y2] [z2] [name] - Name of the elevator
[x1] [y1] [z1] - Coordinates of the first vertex of the cuboid
[x2] [y2] [z2] - Coordinates of the second vertex of the cuboid
realisticelevator.create
/elevator delete Deletes an elevator. /elevator delete [name] [name] - Name of the elevator to delete realisticelevator.delete
/elevator info Lists coordinates of an elevator. /elevator info [elevator name] [elevator name] - the name of the elevator realisticelevator.info
/elevator getfloorcallbutton Gets the location of the floor call button for a floor. /elevator getfloorcallbutton [elevator name] [floor number] [elevator name] - Name of the elevator
[floor number] - Floor number
realisticelevator.getfloorcallbutton
/elevator getmasterblock Gets the master block of an elevator. /elevator getmasterblock [elevator name] [elevator name] - Name of the elevator realisticelevator.getmasterblock
/elevator goto Goes to a floor. Player has to be in an elevator. /elevator goto [floor] [floor] - Floor to go to realisticelevator.goto
/elevator listdoors Lists all doors for an elevator. /elevator listdoors [elevator name] [elevator name] - the name of the elevator realisticelevator.listdoors
/elevator list Lists all elevators on this server. /elevator list realisticelevator.list
/elevator listfloordoors Lists doors for an elevator floor. /elevator listfloordoors [elevator name] [floor number] [elevator name] - the name of the elevator
[floor number] - Floor number
realisticelevator.listfloordoors
/elevator listfloors Lists all floors of an elevator. /elevator listfloors [elevator name] [elevator name] - Name of the elevator realisticelevator.listfloors
/elevator removedoor Removes a door from an elevator. /elevator removedoor [elevator name] [x] [y] [z] [elevator name] - Name of the elevator to remove the door from.
[x] [y] [z] - Coordinates of the door relative to the elevator's master block (block of the elevator whose coordinates are the smallest).
realisticelevator.removedoor
/elevator removefloor Removes a floor from an elevator. /elevator removefloor [elevator name] [floor number] [elevator name] - Name of the elevator
[floor number] - Number of the floor to remove
realisticelevator.removefloor
/elevator removefloorcallbutton Removes a floor call button from an elevator. /elevator removefloorcallbutton [elevator name] [floor number] [elevator name] - Name of the elevator
[floor number] - Number of the floor to remove call button from
realisticelevator.removefloorcallbutton
/elevator removefloordoor Removes a door from a floor. /elevator removefloordoor [elevator name] [floor number] [x] [y] [z] [elevator name] - Name of the elevator
[floor number] - Floor number
[x] [y] [z] - Coordinates of the door
realisticelevator.removefloordoor
/elevator setlocation Sets the location of an elevator. /elevator setlocation [name] [x1] [y1] [z1] [x2] [y2] [z2] [name] - Name of the elevator
[x1] [y1] [z1] - Coordinates of the first vertex of the cuboid
[x2] [y2] [z2] - Coordinates of the second vertex of the cuboid
realisticelevator.setlocation
/elevator setfloorcallbutton Sets the call button for a floor. /elevator setfloorcallbutton [elevator name] [floor number] [x] [y] [z] [elevator name] - Name of the elevator
[floor number] - Number of the floor to add call button to
[x] [y] [z] - Coordinates of the call button
realisticelevator.setfloorcallbutton

I highly recommend giving everyone the realisticelevator.goto permission, because, in my opinion, everyone should be able to use all elevators.

Compiling

RealisticElevator is written for Java 8 and uses Maven as its build system. To build the plugin JAR, run the Maven package lifecycle.