[In Dev] EntityDisguise


#1

Latest Update
I have been dropped into University, so I don’t really have time to update this plugin, however jon100456 has created a small updat to the plugin that updates the code from early 5.0.0 API to 5.1.0 API.

Intro
This is a small plugin that makes all players see you as a mob. This plugin does not use NMS at all. All the code behind the plugin is based on Sponge API.

How does it work?

Short answer:
makes you look like a mob to everyone but you, other mobs think you are that mob.

Long answer:
This plugin creates a Mob that everyone can see then turns you invincible to everyone. From there this plugin then tracks your moves and simulates thous moves onto the Mob. Not only that, the server treats you as the Mob, so other mobs should not harm you.

Commands

player commands

/ed disguise <entity type>
permission (only one needed): 
 - ed.command.disguise.<entity type>
 - ed.command.disguise.* 

This will disguise you as a entity

/ed remove
permission: ed.command.remove

This will remove your disguise if you have one

/ed mobs (not programmed in yet)
permission: ed.command.elist
alias: /ed EList

Displays a list of supported entities

/ed DList
permission: ed.command.dlist

Shows a list of disguised players

To Do

  • display the disguise to players who join after the disguise is applied
  • Allow disguised players to see their own disguised entity with command
  • Add config
  • allow admins to toggle hiding disguised players from tab list
  • sort out breeding the disguised entity with other entities
  • fix any and every bug

github downloads: here
ore page: here


A few suggestions
#2

Might I suggest an alias to /ed EList? Something like /ed mobs would be the bee’s knees :stuck_out_tongue:


#3

I would be more then happy to add something like that in. Thanks for the feedback


#4

Complete disguise without NMS?

mind = blown.

ALL HAIL THE SPONGE! (RIP Bukkit)


#5

Still working on this so don’t get your hopes too high… Just yet


#6

But if you are still working on it, then perhaps it is possible.


#7

I can not test it until sponge is working again and all data is implemented. But in theory its possible with the sponge events.


#8

@MoseMister
What is the status on this plugin, is it able to be tested? If it is working, maybe you would consider adding an API or creating a class people could insert into their plugins for easy use?


#9

The status of this plugin is still in-dev. I’m waiting for living.moveEvent to get implemented.
I’ll upload version 2 when I next get onto my computer so you can mess around with the current API. Please note that the API will change before full release (not much will be changed but enough)


#10

Ok, sounds good!

Thanks!


#11

just updated the releases. By the time you read this, ive probably updated the source code.


#12

Awesome!!!
:smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley:


#13

This plugin has been updated, making the following changes

  • all entities (including custom forge entities - that support sponge) are now accepted, however some entities do not work
  • updated the code to Sponge Beta (API 3.0.0)
  • no spam error
  • if the player hits there own disguise, no damage will occur

#14

“That support sponge” Well crap. There goes using this for Pixelmon right now xD I’ve got a server I’ll be trying this out on soon though it sounds awesome


#15

please note this is a highly unfinished plugin. There are still a few bugs and a lot needs to be finished


#16

Yeah it say’s In Dev on top. I’ve got test servers to mess around on for these things


#17

sorry, i know some people ignore that sign completely and wonder why they get a bug here or there


#18

Is there a way as admin I can clear all disguises?


#19

Currently, This plugin is no where near complete. permissions are not in place or anything like that, but i will add a command for players to clear all player disguises later in its development


#20

Okay thanks… we (my son and his friends) played with it a bit and had a lot of fun.