Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/falkirks/disguiseme
Disguise yourself as mobs in PocketMine-MP
https://github.com/falkirks/disguiseme
php pocketmine-mp pocketmine-plugins
Last synced: about 18 hours ago
JSON representation
Disguise yourself as mobs in PocketMine-MP
- Host: GitHub
- URL: https://github.com/falkirks/disguiseme
- Owner: falkirks
- License: mit
- Created: 2014-05-14T17:08:42.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-27T22:28:51.000Z (over 7 years ago)
- Last Synced: 2024-09-22T16:02:36.610Z (5 days ago)
- Topics: php, pocketmine-mp, pocketmine-plugins
- Language: PHP
- Homepage:
- Size: 25.4 KB
- Stars: 6
- Watchers: 5
- Forks: 15
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
DisguiseMe
==========Disguise yourself as mobs or blocks for PocketMine-MP.
### Disguises
Disguises are different ways to conceal a Player. DisguiseMe comes with several builtin ones and new ones can be added. A disguise implements the `Disguise` interface and has a constructor which consumes a Player as the first argument and 1..* arguments (0 is possible, but causes some issues, see below) following. The disguise will be registered using a short name for command use.### Command use
```
/d disguiseName param1:param2:param3 # Called by $player
__construct($player, "param1", "param2", "param3");
/d disguiseName param1:param2:param3 Emily # Where Emily is a valid username and coresponds to a Player, $emily
__construct($emily, "param1", "param2", "param3");
```### Command
The /d command is both simple and very complicated. It allows for extensibility which adds a but of complexity. Some standard examples
```
/d m creeper # Disguise yourself using the mob Disguise as a creeper
/d id 37 # Disguise yourself using the id Disguise as a slime
/d m pig Greg # Disguise Greg as a pig using mob Disguise
/d # End your existing disguise
/d Greg # End Greg's existing disguise
```Unfortunately there are some clashes in behaviour if you have the `disguiseme.other` permission and want to use a Disguise with no arguments.
Some examples of how to use it
```
/d dragon # Disguise yourself using the dragon disguse (if no Player is using the name "dragon")
/d -dragon # Disguise yourself using the dragon Disguise (always will work)
/d dragon -PlayerName # Disguise PlayerName using the dragon disguise```