![HSDamageSkin [ 1.19.4 - 1.20.4 ] icon](https://images.polymart.org/product/6409/thumbnail.png?t=1724468954&v=3)
HSDamageSkin [ 1.19.4 - 1.20.4 ] 1.0.0
Display hit damage and try out various skins.
HSDamageSkin
Display hit damage and try out various skins.
HSDamageSkin
This plugin supports only version 1.19.4 and above.
- Damage Display via Texture: Shows damage through texture display.
- Automatic Resource Generation: Automatically generates resources.
- Customizable: Freely customize your settings.
- Personalized Skin Selection: Choose personalized skins from a dedicated GUI.
- Various Storage Methods: Supports various storage methods.
- Configurable Messages: All messages can be configured.
How to Create a Damage Skin ResourceHow to Create a Damage Skin Resource
Creating a damage skin resource involves designing a specific type of image file and integrating it into your game environment. Follow these steps to create and implement your custom damage skin.
1. Designing the Damage Skin Image
The damage skin resource should be created as an image file with the dimensions of 16 pixels in width by 160 pixels in height. This size is crucial for proper alignment and display in the game.
- Image Dimensions: 16x160 pixels
- Format: Use a standard image format like PNG for transparency and quality.
For reference, you can check out an example of a properly formatted image provided above.
2. Integrating the Damage Skin into the Game
Once you have created your damage skin image, you need to integrate it into the game's resource folder. Follow these steps:
[list=1]Place the Image in the Resource Folder: Save your custom image in the `Configs/Resources` directory of your game files.Convert the Resource into a Resource Pack: Use the following command to package your custom damage skin into a resource pack:
[/list]/damageskin zip
This command compresses your image and other necessary files into a resource pack format that the game can read.
https://youtu.be/nhzSnjFr52Y?si=V1BsLLEUNXsVZGnz&t=53
Basic Configuration Guide
HSDamageSkin.jarAfter installing and loading this plugin,
dedicated resources will be downloaded.Included default resources: HORANG Damage Skin, GUI (in preparation)
Basic Usage Instructions
Installation and Execution
Place HSDamageSkin.jar and HSLib.jar in the plugins folder of your server bucket, then start the server.Custom Skins
Attach the desired damage skin resource to theplugins/HSDamageSkin/Configs/Resources
directory.Create the skin configuration in the
plugins/HSDamageSkin/Configs/Skins
directory.Afterwards, use the /damageskin zip and /damageskin reload commands on the server to automatically generate resources and load the configuration.
https://youtu.be/nhzSnjFr52Y?si=VQXijqrFzLZpCsds&t=19
Smooth Animation Feature
Can be configured frame by frame.
https://youtu.be/nhzSnjFr52Y?si=agVceUTjJazerfys&t=136
Linking with ItemsAdder
This guide assumes that the basic setup for ItemsAdder has been completed.In the
plugins/ItemsAdder/config.yml
file,
find the `merge_other_plugins_resourcepacks_folders` option and set it as follows:merge_other_plugins_resourcepacks_folders: - HSDamageSkin/resources pack
Equip.yml
# ██╗ ██╗ ██████╗ ██████╗ █████╗ ███╗ ██╗ ██████╗ ███████╗██╗ ██╗ ██████╗ ██████╗ # ██║ ██║██╔═══██╗██╔══██╗██╔══██╗████╗ ██║██╔════╝ ██╔════╝██║ ██║██╔═══██╗██╔══██╗ # ███████║██║ ██║██████╔╝███████║██╔██╗ ██║██║ ███╗███████╗███████║██║ ██║██████╔╝ # ██╔══██║██║ ██║██╔══██╗██╔══██║██║╚██╗██║██║ ██║╚════██║██╔══██║██║ ██║██╔═══╝ # ██║ ██║╚██████╔╝██║ ██║██║ ██║██║ ╚████║╚██████╔╝███████║██║ ██║╚██████╔╝██║ # ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ # 호랑샵 플러그인의 콘피그 파일입니다 # 문의는 개발자 KONGNAML 에게 부탁드립니다 version: 1 # Title of the skin feature, in this case "Damage Skin" title: Damage Skin unequip: # Settings for the "Unequip" option material: BARRIER # Material used for the "Unequip" option, in this case a barrier block display: <!i><red>Not Equipped # Text displayed when the item is not equipped, formatted in red lore: # Description for the "Unequip" option - <!i><white>No skin equipped. # Description text when no skin is equipped, formatted in white previous: # Settings for the "Previous" option material: YELLOW_STAINED_GLASS_PANE # Material used for the "Previous" option, in this case a yellow stained glass pane display: <!i><yellow>Previous # Display text for the "Previous" option, formatted in yellow lore: # Description for the "Previous" option - ' ' # Empty description for the "Previous" option next: # Settings for the "Next" option material: BLUE_STAINED_GLASS_PANE # Material used for the "Next" option, in this case a blue stained glass pane display: <!i><blue>Next # Display text for the "Next" option, formatted in blue lore: # Description for the "Next" option - ' ' # Empty description for the "Next" option blank: # Settings for the "Blank" option material: WHITE_STAINED_GLASS_PANE # Material used for the "Blank" option, in this case a white stained glass pane display: '' # No display text for the "Blank" option lore: # Description for the "Blank" option - ' ' # Empty description for the "Blank" option
Add your custom resources.
Add your custom Skin Config.
# # Available Placeholders # %location_x%, %location_y%, %location_z% # %head_location_x%, %head_location_y%, %head_location_z% # # Available Operators # +, -, *, /, ** (exponentiation) # # # Please enter the resource name. # resource: horang # # true: Must be acquired to use. # false: Skin does not require permission. # This feature is not supported in the SNAPSHOT version. # permission: false # # Item to be displayed in the GUI # displayItem: material: sunflower display: "<!i><white> <b><gradient:#ff9633:#ffd633>Tiger Skin</gradient>" lore: - "<!i><white> <font:horang><white>7</font><reset>" - "<!i><white> <gray>Roar! Scary tiger skin<reset>" - "<!i><white><reset>" - "<!i><white><reset>" - "<!i><white> <font:horang>123456</font><reset>" - "<!i><white><reset>" - "<!i><white><reset>" - "<!i><dark_gray> Click to equip or unequip.<reset> " # English Version #displayItem: # material: sunflower # display: "<!i><white> <b><gradient:#ff9633:#ffd633>Tiger Skin</gradient>" # lore: # - "<!i><white> <font:horang><white>7</font><reset>" # - "<!i><white> <gray>Roar! Scary tiger skin<reset>" # - "<!i><white><reset>" # - "<!i><white><reset>" # - "<!i><white> <font:horang>123456</font><reset>" # - "<!i><white><reset>" # - "<!i><white><reset>" # - "<!i><dark_gray> Click to equip or unequip.<reset> " # # Animation Settings # animation: startLocation: x: "%location_x%" y: "%head_location_y% + 1.3" z: "%location_z%" frame: "1": duration: 4 vector: x: 0 y: -0.8 z: 0.1 scale: x: 1.0 y: 1.0 z: 1.0 "2": duration: 4 vector: x: 0 y: 0.8 z: 0.1 scale: x: 1.0 y: 1.0 z: 1.0 "3": duration: 4 vector: x: 0 y: 0.6 z: 0.1 scale: x: 1.0 y: 1.0 z: 1.0 "4": duration: 5 vector: x: 0 y: -0.6 z: 0.1 scale: x: 1.0 y: 1.0 z: 1.0 "5": duration: 5 vector: x: 0 y: 0.3 z: 0.1 scale: x: 1.0 y: 1.0 z: 1.0 "6": duration: 5 vector: x: 0 y: -0.3 z: 0.1 scale: x: 1.0 y: 1.0 z: 1.0
Json.yml
# ██╗ ██╗ ██████╗ ██████╗ █████╗ ███╗ ██╗ ██████╗ ███████╗██╗ ██╗ ██████╗ ██████╗ # ██║ ██║██╔═══██╗██╔══██╗██╔══██╗████╗ ██║██╔════╝ ██╔════╝██║ ██║██╔═══██╗██╔══██╗ # ███████║██║ ██║██████╔╝███████║██╔██╗ ██║██║ ███╗███████╗███████║██║ ██║██████╔╝ # ██╔══██║██║ ██║██╔══██╗██╔══██║██║╚██╗██║██║ ██║╚════██║██╔══██║██║ ██║██╔═══╝ # ██║ ██║╚██████╔╝██║ ██║██║ ██║██║ ╚████║╚██████╔╝███████║██║ ██║╚██████╔╝██║ # ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ # 호랑샵 플러그인의 콘피그 파일입니다 # 문의는 개발자 KONGNAML 에게 부탁드립니다 savePeriod: 10
MongoDB.yml
# ██╗ ██╗ ██████╗ ██████╗ █████╗ ███╗ ██╗ ██████╗ ███████╗██╗ ██╗ ██████╗ ██████╗ # ██║ ██║██╔═══██╗██╔══██╗██╔══██╗████╗ ██║██╔════╝ ██╔════╝██║ ██║██╔═══██╗██╔══██╗ # ███████║██║ ██║██████╔╝███████║██╔██╗ ██║██║ ███╗███████╗███████║██║ ██║██████╔╝ # ██╔══██║██║ ██║██╔══██╗██╔══██║██║╚██╗██║██║ ██║╚════██║██╔══██║██║ ██║██╔═══╝ # ██║ ██║╚██████╔╝██║ ██║██║ ██║██║ ╚████║╚██████╔╝███████║██║ ██║╚██████╔╝██║ # ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ # 호랑샵 플러그인의 콘피그 파일입니다 # 문의는 개발자 KONGNAML 에게 부탁드립니다 host: 127.0.0.1 port: '27017' database: '' username: '' password: ''
MySQL.yml
# ██╗ ██╗ ██████╗ ██████╗ █████╗ ███╗ ██╗ ██████╗ ███████╗██╗ ██╗ ██████╗ ██████╗ # ██║ ██║██╔═══██╗██╔══██╗██╔══██╗████╗ ██║██╔════╝ ██╔════╝██║ ██║██╔═══██╗██╔══██╗ # ███████║██║ ██║██████╔╝███████║██╔██╗ ██║██║ ███╗███████╗███████║██║ ██║██████╔╝ # ██╔══██║██║ ██║██╔══██╗██╔══██║██║╚██╗██║██║ ██║╚════██║██╔══██║██║ ██║██╔═══╝ # ██║ ██║╚██████╔╝██║ ██║██║ ██║██║ ╚████║╚██████╔╝███████║██║ ██║╚██████╔╝██║ # ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ # 호랑샵 플러그인의 콘피그 파일입니다 # 문의는 개발자 KONGNAML 에게 부탁드립니다 host: 127.0.0.1 port: '3306' database: '' username: '' password: ''
SQLite.yml
# ██╗ ██╗ ██████╗ ██████╗ █████╗ ███╗ ██╗ ██████╗ ███████╗██╗ ██╗ ██████╗ ██████╗ # ██║ ██║██╔═══██╗██╔══██╗██╔══██╗████╗ ██║██╔════╝ ██╔════╝██║ ██║██╔═══██╗██╔══██╗ # ███████║██║ ██║██████╔╝███████║██╔██╗ ██║██║ ███╗███████╗███████║██║ ██║██████╔╝ # ██╔══██║██║ ██║██╔══██╗██╔══██║██║╚██╗██║██║ ██║╚════██║██╔══██║██║ ██║██╔═══╝ # ██║ ██║╚██████╔╝██║ ██║██║ ██║██║ ╚████║╚██████╔╝███████║██║ ██║╚██████╔╝██║ # ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ # 호랑샵 플러그인의 콘피그 파일입니다 # 문의는 개발자 KONGNAML 에게 부탁드립니다 host: 127.0.0.1 port: '5432' database: '' username: '' password: ''
Setting.yml
# ██╗ ██╗ ██████╗ ██████╗ █████╗ ███╗ ██╗ ██████╗ ███████╗██╗ ██╗ ██████╗ ██████╗ # ██║ ██║██╔═══██╗██╔══██╗██╔══██╗████╗ ██║██╔════╝ ██╔════╝██║ ██║██╔═══██╗██╔══██╗ # ███████║██║ ██║██████╔╝███████║██╔██╗ ██║██║ ███╗███████╗███████║██║ ██║██████╔╝ # ██╔══██║██║ ██║██╔══██╗██╔══██║██║╚██╗██║██║ ██║╚════██║██╔══██║██║ ██║██╔═══╝ # ██║ ██║╚██████╔╝██║ ██║██║ ██║██║ ╚████║╚██████╔╝███████║██║ ██║╚██████╔╝██║ # ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ # 호랑샵 플러그인의 콘피그 파일입니다 # 문의는 개발자 KONGNAML 에게 부탁드립니다 version: 1 # This is an option for developers # Don't enable this option # 이 옵션은 개발자용입니다 # 활성화하면 안됩니다 verbose: false # Control Whether Enable This Plugin Functions # If disabled, Event listener and Scheduler will be disabled # 플러그인의 기능을 활성화할지 설정합니다 # 비활성화할시 이벤트 리스너와 스케듈러가 비활성화됩니다 enablePlugin: true # Control Whether Send Motd to All User # If disabled, Send Motd to only ops # Motd를 모든 유저에게 보낼지 조정합니다 # 비활성화할시 Motd를 OP에게만 보냅니다 motd: true # Message Locale, You can make new Locale File, Locale_KR.yml = KR # Internal Locale: KR, EN (Locale file is automatically created when the configuration is loaded) # 메세지 언어, 새로운 언어 파일을 만들 수 있습니다, Locale_KR.yml = KR # 내장된 언어: KR, EN (구성을 불러올때 자동으로 파일이 생성됩니다) locale: KR # Data save format, Available format: JSON, MONGODB, MYSQL, SQLITE, MARIADB, POSTGRESQL # 데이터 저장 포멧: 사용 가능한 포멧: JSON, MONGODB, MYSQL, SQLITE, MARIADB, POSTGRESQL storage: JSON
Locale_KR.yml
# ██╗ ██╗ ██████╗ ██████╗ █████╗ ███╗ ██╗ ██████╗ ███████╗██╗ ██╗ ██████╗ ██████╗ # ██║ ██║██╔═══██╗██╔══██╗██╔══██╗████╗ ██║██╔════╝ ██╔════╝██║ ██║██╔═══██╗██╔══██╗ # ███████║██║ ██║██████╔╝███████║██╔██╗ ██║██║ ███╗███████╗███████║██║ ██║██████╔╝ # ██╔══██║██║ ██║██╔══██╗██╔══██║██║╚██╗██║██║ ██║╚════██║██╔══██║██║ ██║██╔═══╝ # ██║ ██║╚██████╔╝██║ ██║██║ ██║██║ ╚████║╚██████╔╝███████║██║ ██║╚██████╔╝██║ # ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ # 호랑샵 플러그인의 콘피그 파일입니다 # 문의는 개발자 KONGNAML 에게 부탁드립니다 reload: 재구성 zip: 리소스 equip: 창착 manage: 관리
Locale_EN.yml
# ██╗ ██╗ ██████╗ ██████╗ █████╗ ███╗ ██╗ ██████╗ ███████╗██╗ ██╗ ██████╗ ██████╗ # ██║ ██║██╔═══██╗██╔══██╗██╔══██╗████╗ ██║██╔════╝ ██╔════╝██║ ██║██╔═══██╗██╔══██╗ # ███████║██║ ██║██████╔╝███████║██╔██╗ ██║██║ ███╗███████╗███████║██║ ██║██████╔╝ # ██╔══██║██║ ██║██╔══██╗██╔══██║██║╚██╗██║██║ ██║╚════██║██╔══██║██║ ██║██╔═══╝ # ██║ ██║╚██████╔╝██║ ██║██║ ██║██║ ╚████║╚██████╔╝███████║██║ ██║╚██████╔╝██║ # ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ # Configuration file for the HorangShop plugin # For inquiries, please contact the developer KONGNAML reload: reconfiguration zip: resource equip: equip manage: management
Locale_KR.yml
# ██╗ ██╗ ██████╗ ██████╗ █████╗ ███╗ ██╗ ██████╗ ███████╗██╗ ██╗ ██████╗ ██████╗ # ██║ ██║██╔═══██╗██╔══██╗██╔══██╗████╗ ██║██╔════╝ ██╔════╝██║ ██║██╔═══██╗██╔══██╗ # ███████║██║ ██║██████╔╝███████║██╔██╗ ██║██║ ███╗███████╗███████║██║ ██║██████╔╝ # ██╔══██║██║ ██║██╔══██╗██╔══██║██║╚██╗██║██║ ██║╚════██║██╔══██║██║ ██║██╔═══╝ # ██║ ██║╚██████╔╝██║ ██║██║ ██║██║ ╚████║╚██████╔╝███████║██║ ██║╚██████╔╝██║ # ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ # 호랑샵 플러그인의 콘피그 파일입니다 # 문의는 개발자 KONGNAML 에게 부탁드립니다 prefix: '' reload: <green>구성 파일을 다시 읽었습니다</green> permission: <red>당신은 권한이 없습니다</red> console: <red>콘솔에서는 해당 명령어를 사용할 수 없습니다.</red> onlyPlayer: <red>해당 명령어는 오직 플레이어만 사용 가능합니다.</red> completeZip: <green>리소스 파일을 성공적으로 생성하였습니다.</green>
Locale_EN.yml
# ██╗ ██╗ ██████╗ ██████╗ █████╗ ███╗ ██╗ ██████╗ ███████╗██╗ ██╗ ██████╗ ██████╗ # ██║ ██║██╔═══██╗██╔══██╗██╔══██╗████╗ ██║██╔════╝ ██╔════╝██║ ██║██╔═══██╗██╔══██╗ # ███████║██║ ██║██████╔╝███████║██╔██╗ ██║██║ ███╗███████╗███████║██║ ██║██████╔╝ # ██╔══██║██║ ██║██╔══██╗██╔══██║██║╚██╗██║██║ ██║╚════██║██╔══██║██║ ██║██╔═══╝ # ██║ ██║╚██████╔╝██║ ██║██║ ██║██║ ╚████║╚██████╔╝███████║██║ ██║╚██████╔╝██║ # ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ # Configuration file for the HorangShop plugin # For inquiries, please contact the developer KONGNAML prefix: '' reload: <green>Configuration file reloaded</green> permission: <red>You do not have permission</red> console: <red>This command cannot be used from the console.</red> onlyPlayer: <red>This command is only available to players.</red> completeZip: <green>Resource file successfully created.</green>
SNAPSHOT Version Notice
The current HSDamageSkin plugin is in the SNAPSHOT version.