Sueta

NoCollide

1.9-4

Disable collision per world, for players & entites players touch! fully configurable.

·Config

Hiya, this is a plugin that allows players to avoid touching when they try to hug other players. Just like back in 1.8 :p

Known problems:
- none!

Upcoming features:
- Disable in worldguard regions

Commands

/nocollide help | Prints the help
/nocollide list | Lists all the whitelisted world where nocollide operates
/nocollide add world | Add a world to the whitelist
/nocollide rm world | Remove a world from the whitelist
/nocollide toggleent| Toggle entities-passthru on and off
/nocollide whitelist | Toggle the whitelist on and off

default config.yml

World-Whitelist:
- world
- world_nether
- world_the_end
UseWhiteList: false
UsingTeams: true
usingProtocolLib: true
NoCollideAllEntities: false
Version: 1.9-3

Permissions

nocollide.op
(Permission to use the /nocollide command)

Using this plugin in other plugins
> FIELD
static boolean NoCollide;

> ENABLE()
Plugin NoCollide = getServer().getPluginManager().getPlugin("NoCollide");
if(NoCollide != null && NoCollide.isEnabled()){
this.NoCollide = true;
}else{
  this.NoCollide = false;
}
> RANDOM TABLIST MODIFER METHOD
if(YOURCLASS.NoCollide && !NoCollide.getPlugin(NoCollide.class).shouldCollide(player)){
TEAM.setOption(Option.COLLISION_RULE, OptionStatus.FOR_OTHER_TEAMS);
}
License

NoCollide by alekso56 is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
The author reserves the right to make exceptions to this license.

Similar projects

Config →