
Skonic - аддон для Skript
Skonic - это аддон для Skript, который добавляет поддержку Citizens, голов игроков и скинов. Упрощает создание NPC и управление внешностью на сервере Minecraft.
Список изменений
WARNING: BETA VERSION, USE AT OWN RISK
Please report any issues on the Github or Discord
Changelog
All Changes
- Updated to Skript 2.16.1.
- Fixed a synchronization issue when despawning citizens.
- Fixed a bug where skin values were handled incorrectly.
- Added 40 new citizen expressions.
- Added 6 new citizen effects.
- Added 5 new citizen conditions.
- Added 9 new citizen events.
New Elements
All new citizen elements added since 1.2.5. Click a section to expand it.
Conditions (5 new)
Citizen Is Leashable
Whether a Citizens NPC is leashable.
(citizen|npc)[s] %npcs% (is|are) leashable
(citizen|npc)[s] %npcs% (is(n't| not)|are(n't| not)) leashable
Citizen is Owned By
Returns if a Citizens NPC is owned by a specific player.
(citizen|npc)[s] %npcs% is owned by %player%
(citizen|npc)[s] %npcs% (is(n't| not)) owned by %player%
Citizen Should Take Knockback
Whether a Citizens NPC should take knockback.
(citizen|npc)[s] %npcs% should take knockback
(citizen|npc)[s] %npcs% should( not|n't) take knockback
Citizen Picks Up Items
Whether a Citizens NPC picks up items.
(citizen|npc)[s] %npcs% (pick|picks) up items
(citizen|npc)[s] %npcs% (do[es]( not|n't)|do[es]n't) pick up items
Citizen Should Jump
Whether a Citizens NPC should jump when navigating.
(citizen|npc)[s] %npcs% should jump
(citizen|npc)[s] %npcs% should( not|n't) jump
Effects (6 new)
Modify Citizen Metadata
Modify the metadata of a Citizens NPC.
(modify|set) [p:persistent] (citizen|npc) %npcmetadata% [metadata] of %npcs% to (%-boolean%|%number%)
(modify|set) %npcs%['s] [p:persistent] (citizen|npc) %npcmetadata% [metadata] to (%-boolean%|%number%)
Citizen Mirror
Enable/Disable a Citizens NPC's Mirror Trait.
enable (npc|citizen)[s] %npcs% mirror [n:with name] [e:[and] with equipment]
disable (npc|citizen)[s] %npcs% mirror
Citizen Mount
Makes a Citizens NPC mount or dismount an entity.
make (citizen|npc) %npc% mount %entity%
make (citizen|npc) %npc% dismount
Citizen Player Animation
Plays a player animation on a Citizens NPC.
make (citizen|npc) %npc% play animation %string%
Citizen Rotate
Rotates a Citizens NPC to face a location or entity.
make (citizen|npc) %npc% face %location%
make (citizen|npc) %npc% face %entity%
Citizen Speak
Makes a Citizens NPC speak a message.
make (citizen|npc) %npc% say %strings%
Expressions (40 new)
Citizen Anchors
The anchors of a Citizens NPC.
anchors of (citizen|npc) %npc%
(citizen|npc) %npc%'[s] anchors
Citizen Attributes
The attributes of a Citizens NPC as a string.
(citizen|npc) attributes of %npcs%
%npcs%'[s] (citizen|npc) attributes
Citizen Avoid Water
Whether a Citizens NPC avoids water when pathfinding.
(citizen|npc) avoid water of %npcs%
%npcs%'[s] (citizen|npc) avoid water
Citizen Behaviour
Whether a Citizens NPC has the Behaviour trait.
(citizen|npc) behaviour of %npcs%
%npcs%'[s] (citizen|npc) behaviour
Citizen Cosmetic Entity
Whether the cosmetic entity (mirror) trait is enabled on a Citizens NPC.
(citizen|npc) cosmetic entity of %npcs%
%npcs%'[s] (citizen|npc) cosmetic entity
Citizen Drops Items
Whether a Citizens NPC drops items.
(citizen|npc) drops items of %npcs%
%npcs%'[s] (citizen|npc) drops items
Citizen Face Location
The location a Citizens NPC is facing.
(citizen|npc) face location of %npcs%
%npcs%'[s] (citizen|npc) face location
Citizen Hidden
Whether a Citizens NPC is hidden.
(citizen|npc) hidden [state] of %npcs%
%npcs%'[s] (citizen|npc) hidden [state]
Citizen Home Location
The home location of a Citizens NPC.
(citizen|npc) home [location] of %npcs%
%npcs%'[s] (citizen|npc) home [location]
Citizen Inventory
The inventory of a Citizens NPC.
(citizen|npc) inventory of %npcs%
%npcs%'[s] (citizen|npc) inventory
Citizen Should Take Knockback
Whether a Citizens NPC should take knockback.
(citizen|npc) knockback of %npcs%
%npcs%'[s] (citizen|npc) knockback
Citizen Is Leashable
Whether a Citizens NPC is leashable (leash protected).
(citizen|npc) leashable of %npcs%
%npcs%'[s] (citizen|npc) leashable
Citizen Metadata
The value of a Citizen's metadata.
%npcmetadata% (citizen|npc) ([meta]data) of %npc%
(citizen|npc) ([meta]data) %npcmetadata% of %npc%
Citizen Move Destination
The navigation target location of a Citizens NPC.
(citizen|npc) move destination of %npcs%
%npcs%'[s] (citizen|npc) move destination
Citizen Open Doors
Whether a Citizens NPC opens doors when pathfinding.
(citizen|npc) open[ed] doors of %npcs%
%npcs%'[s] (citizen|npc) open[ed] doors
Citizen Owner (UUID)
The 'owner' of a Citizens NPC, if null, then it is owned by the server, else a player.
(citizen|npc) owner [uuid] of %npcs%
%npcs%'[s] (citizen|npc) owner [uuid]
Citizen Packet Update Delay
The packet update delay of a Citizens NPC.
(citizen|npc) packet [update] delay of %npcs%
%npcs%'[s] (citizen|npc) packet [update] delay
Citizen Pathfinding Range
The pathfinding range of a Citizens NPC's navigator.
(citizen|npc) pathfind[ing] range of %npcs%
%npcs%'[s] (citizen|npc) pathfind[ing] range
Citizen Picks Up Items
Whether a Citizens NPC picks up items.
(citizen|npc) picks up items of %npcs%
%npcs%'[s] (citizen|npc) picks up items
Citizen Player Filter
Whether a Citizens NPC has a PlayerFilter trait.
(citizen|npc) player filter of %npcs%
%npcs%'[s] (citizen|npc) player filter
Citizen Player List Visibility
Whether a Citizens NPC is removed from the player list.
(citizen|npc) player list [visibility] of %npcs%
%npcs%'[s] (citizen|npc) player list [visibility]
Citizen Rotation
The rotation of a Citizens NPC (yaw).
(citizen|npc) rotation of %npcs%
%npcs%'[s] (citizen|npc) rotation
Citizen Reset Pitch on Tick
Whether a Citizens NPC resets its pitch on tick.
(citizen|npc) reset pitch [on tick] of %npcs%
%npcs%'[s] (citizen|npc) reset pitch [on tick]
Citizen Scaled Max Health
The scaled max health of a Citizens NPC.
(citizen|npc) scaled max health of %npcs%
%npcs%'[s] (citizen|npc) scaled max health
Citizen Shop
Whether a Citizens NPC has a shop trait.
(citizen|npc) shop [trait] of %npcs%
%npcs%'[s] (citizen|npc) shop [trait]
Citizen Should Jump
Whether a Citizens NPC should jump when navigating.
(citizen|npc) should jump of %npcs%
%npcs%'[s] (citizen|npc) should jump
Citizen Sitting
Whether a Citizens NPC is sitting.
(citizen|npc) sitting [state] of %npcs%
%npcs%'[s] (citizen|npc) sitting [state]
Citizen Skin Layers
Whether a Citizens NPC has the SkinLayers trait.
(citizen|npc) skin layers of %npcs%
%npcs%'[s] (citizen|npc) skin layers
Citizen Skin Name
The skin name of a Citizens NPC.
(citizen|npc) skin name of %npcs%
%npcs%'[s] (citizen|npc) skin name
Citizen Sneaking
Whether a Citizens NPC is sneaking.
(citizen|npc) sneaking of %npcs%
%npcs%'[s] (citizen|npc) sneaking
Citizen Sounds
Whether a Citizens NPC is silent.
(citizen|npc) silent of %npcs%
%npcs%'[s] (citizen|npc) silent
Citizen Speech
The speech trait of a Citizens NPC.
(citizen|npc) speech [trait] of %npcs%
%npcs%'[s] (citizen|npc) speech [trait]
Citizen Speed
The navigation speed of a Citizens NPC.
(citizen|npc) speed of %npcs%
%npcs%'[s] (citizen|npc) speed
Citizen Stored Location
The stored (current) location of a Citizens NPC.
(citizen|npc) stored location of %npcs%
%npcs%'[s] (citizen|npc) stored location
Citizen Swim
Whether a Citizens NPC can swim.
(citizen|npc) swim of %npcs%
%npcs%'[s] (citizen|npc) swim
Citizen Tablist Visibility
Whether a Citizens NPC is removed from the tab list.
(citizen|npc) tablist visibility of %npcs%
%npcs%'[s] (citizen|npc) tablist visibility
Citizen Tracking Range
The tracking range of a Citizens NPC.
(citizen|npc) tracking range of %npcs%
%npcs%'[s] (citizen|npc) tracking range
Citizen UUID
The UUID of a Citizens NPC or its entity.
(citizen|npc) uuid of %npc%
%npc%'[s] (citizen|npc) uuid
(citizen|npc) (entity|minecraft) uuid of %npc%
%npc%'[s] (entity|minecraft) uuid
Citizen Use Held Item
Whether a Citizens NPC is using its held item.
(citizen|npc) using held item of %npcs%
%npcs%'[s] (citizen|npc) using held item
Citizen Wander
Whether a Citizens NPC has the Waypoints trait (wandering).
(citizen|npc) wander[ing] of %npcs%
%npcs%'[s] (citizen|npc) wander[ing]
Events (9 new)
Citizen Combust
Called when a Citizens NPC combusts.
(citizen|npc) combust
Citizen Knockback
Called when a Citizens NPC is knocked back.
(citizen|npc) knockback
Citizen Push
Called when a Citizens NPC is pushed.
(citizen|npc) push[ed]
Citizen Seen by Player
Called when a Citizens NPC is seen by a player.
(citizen|npc) seen by [a] player
Citizen Open Door
Called when a Citizens NPC opens a door.
(citizen|npc) open[ed] [a] door
Citizen Open Gate
Called when a Citizens NPC opens a gate.
(citizen|npc) open[ed] [a] gate
Citizen Rename
Called when a Citizens NPC is renamed.
(citizen|npc) rename[d]
Citizen Vehicle Damage
Called when a Citizens NPC's vehicle is damaged.
(citizen|npc) vehicle damage
Citizen Clone
Called when a Citizens NPC is cloned.
(citizen|npc) clone[d]
