Skip to content

maximjsx/EntitySize

Repository files navigation

Join Discord Server




With this plugin, you can: Change the size of any living entity (bigger & smaller) with optional steps for a transition.

Modify it for entities or players with a specific name, UUID, entity ID, scoreboard tag, the entity you are looking at, or entities in a specific range around you!

There are also some other optional modifiers like: Movement speed, jump strength, step height, etc. (Look into the config) To make it more playable for a player with a different scale.

This plugin overrides the vanilla player attributes!

Commands

/entitysize reload (Reload config)
/entitysize reset <optional player / @a> (Reset size to default)
/entitysize <size> [time] (Change your own size)
/entitysize player <player> <size> [time]
/entitysize entity looking <size> [time] (The entity you are looking at)
/entitysize entity tag <tag> <size> [time] (All entities with a specific scoreboard tag)
/entitysize entity name <name> <size> [time] (All entities with a specific name)
/entitysize entity uuid <uuid> <size> [time] (Entity with that uuid)
/entitysize entity range <blocks> <size> [time] (Entities in a specific range from your location)

Config

General:
  bStats: true
  language: en_us
Size:
  Transition: true
  TransitionSteps: 30
  IsReachMultiplier: true
  IsStepHeightMultiplier: true
  IsSpeedMultiplier: true
  IsJumpMultiplier: true
  IsSaveFallDistanceMultiplier: true
  IsReachReverted: false
  IsStepHeightReverted: false
  IsSpeedReverted: false
  IsJumpReverted: false
  IsSaveFallDistanceReverted: false
  ReachMultiplier: 1
  StepHeightMultiplier: 1
  SpeedMultiplier: 1
  JumpMultiplier: 1
  SaveFallDistanceMultiplier: 1

Permissions

EntitySize.sizelimit.max.<number>
EntitySize.sizelimit.min.<number>
EntitySize.self (Change own size)

entitysize.commands (Allows the use of the entitysize command)
entitysize.player (Allows the use of the player subcommand)
entitysize.entity (Allows the use of the entity subcommand)
entitysize.reload (Allows the use of the reload subcommand)
entitysize.reset (Allows the use of the reset subcommand)
entitysize.reset.player (Allows the ability to reset any player)
entitysize.reset.all (Allows the ability to reset all players, using @a)
entitysize.self (Allows the use of the self subcommand)
entitysize.entity.looking (Allows selecting the entity being looked at)
entitysize.entity.tag (Allows selecting the entity by tag)
entitysize.entity.name (Allows selecting the entity by name)
entitysize.entity.uuid (Allows selecting the entity by uuid)
entitysize.entity.range (Allows selecting the entity by range)

API

Gradle

repositories {
	mavenCentral()
	maven { url 'https://jitpack.io' }
}

dependencies {
	 compileOnly 'com.github.maximjsx:EntitySize:1.6.1'
}

Maven

<dependency>
        <groupId>com.github.maximjsx</groupId>
        <artifactId>EntitySize</artifactId>
        <version>1.6.1</version>
        <scope>provided</scope>
</dependency>

Add

EntityModifierService modifierService = EntitySize.getSizeService();

modifierService.resetSize(player);
modifierService.setSize(livingEntity, newScale);
modifierService.getEntity(player, range);

Support

https://discord.com/invite/4pA7VUeQs4

image