Creating a portal that execute command as console and player
9
stars
6
forks
source link
FootJob
![Discord server](https://discordapp.com/api/guilds/472786873492832256/embed.png)
What is this plugin for
- With this plugin,you can create a invisible portal that will execute command as player and console when someone colliding it
How does this work
- The portal is just a coordination,you can place any block there or leave it empty (air)
- And when someone collide this coordination, they will trigger the portal to excute commands
How to create portals
- Use
/fj aa
to create portal
- Use
/fj ra
to remove the portal (with all the settings)
- How to add commands,and mores, go to Commands
- There is also a video you can watch in the Instroduce
Why is it named footjob
- Because you need to walk into the portal to help the plugin work
- And you walk on foot
Permisson
- Who has footjob.permission permission can use the commands only
Commands
Type /fj help
to see lists of commands
SubCommands:
-
/fj list
to see lists of area
-(name)
under is stand for area name.-
/fj aa (name)
(aka /fj addarea) to create a area by breaking 2 block,and area will have a name you named
-
/fj acc (name) (text)
(/fj addconsolecommand) to add a command that'll be executed by console
use exactly this word {name}
as player name when the command excuted
Ex: /fj acc randomAreaName give {name} apple 1
/fj apc (name) (text)
(/fj addplayercommand) to add a command that'll be executed by the player walked in the portal
Ex: /fj apc randomAreaName hub
/fj ra (name)
(/fj removearea) to delete an area
Config.yml
- Go to config.yml to see all the area,commands on its area, easy editting her
Features
- [x] Create a portal that execute command as console and player when someone walks in
- [x] Simple sound effect
- [x] Update checker
- [ ] Particle
-
[x] 100% perfect
Introduce
- A video about the plugin:
![Youtube Introduce](https://img.youtube.com/vi/PN9MyWWC1Dg/0.jpg)