Перейти к содержимому
Mineforgian

Myst1c's Strength Smp

Killers gain strength and victims lose strength. Made this cuz pipe's plugin is buggy.

Загрузки
798
Подписчики
3
Обновлён
18 апреля 2026 г.
Лицензия
MIT

Опубликован 12 октября 2025 г.

StrengthSMP

Features

Kill-based progression

  • Killing another player increases your strength.
  • Dying to another player decreases it.
  • Both limits (min/max) are fully configurable.
  • Killing a player at max strength drops a strength token instead of wasting the strength.

Damage Multiplier System

  • Strength is applied as a total damage multiplier, not a flat bonus.
  • This can be configured in the config.yml file.

Craftable Strength Tokens

  • Configurable 3×3 recipe via config.yml.
  • Uses Bukkit’s recipe system (no client mods required).
  • Tokens are consumable with right-click to permanently gain +1 Strength.

Commands

  • /strength get - See your current strength level.
  • /strength set <player> <amount> - (OP only) Manually set someone’s strength.
  • /strength withdraw <amount> - Convert part of your strength into tradable tokens.
  • /strength reload - Reload config without restarting.
  • /strength version - Displays plugin version.

Custom crafting

Recipe shape and materials configurable in config.yml.

Example:

strength-item:
  enabled: true
  recipe:
    key: strength_token
    shape:
      - "ABA"
      - "BCB"
      - "ADA"
    A: DIAMOND
    B: BLAZE_POWDER
    C: NETHER_STAR
    D: BLAZE_ROD

Permissions

  • strength.get - Allows you to view other player's strength (default: op)
  • strength.set - Allows you to set any player's strength (default: op)
  • strength.reload - Allows you to reload the config (default: op)

API/Integration

Other plugins can hook into the system via:

StrengthManager manager = ((Main) Bukkit.getPluginManager().getPlugin("Strength_SMP")).getStrengthManager();
int current = manager.getStrength(player);
manager.setStrength(player, newAmount);

Requirements

  • Java 17

note for anyone that attempts to modify the plugin: my code is kinda buns, so gl with that. also, you can check me out here

Ченджлог

1.1.1Релиз1.21.9, 1.21.10, 1.21.11 · 18 апреля 2026 г.

Changelog

[1.1.1] - 2026-04-18

Fixed

  • Attribute modifiers now flush correctly on player quit and server shutdown. Previously, if the plugin was removed between restarts, strength modifiers would persist on players indefinitely with no clean way to remove them. A proper load/unload lifecycle has been introduced to ensure modifiers are always stripped when they should be. This allows for safe removal of the plugin from the server.

Added

  • bStats integration. Anonymous usage metrics are now collected via bStats. This includes tokens consumed, tokens dropped, strength withdrawals, and a distribution chart of strength levels across players. You can opt out server-wide via the bStats config at plugins/bStats/config.yml.

Changed

  • Major internal refactor. The plugin has been split into three modules (common, bukkit, and paper) to cleanly separate platform-specific code from core logic. This lays the groundwork for easier future expansion and maintenance. From a server owner's perspective, nothing changes except that there are now two separate jars: one for Spigot/Bukkit servers and one for Paper servers. Use whichever matches your server.

Note for server owners upgrading from 1.1.0: No data migration is needed. Your existing strength.yml is fully compatible. If you are switching from the old single jar to the Paper jar, just swap the file; player data carries over automatically.

1.1.1Релиз1.21.9, 1.21.10, 1.21.11 · 18 апреля 2026 г.

Changelog

[1.1.1] - 2026-04-18

Fixed

  • Attribute modifiers now flush correctly on player quit and server shutdown. Previously, if the plugin was removed between restarts, strength modifiers would persist on players indefinitely with no clean way to remove them. A proper load/unload lifecycle has been introduced to ensure modifiers are always stripped when they should be. This allows for safe removal of the plugin from the server.

Added

  • bStats integration. Anonymous usage metrics are now collected via bStats. This includes tokens consumed, tokens dropped, strength withdrawals, and a distribution chart of strength levels across players. You can opt out server-wide via the bStats config at plugins/bStats/config.yml.

Changed

  • Major internal refactor. The plugin has been split into three modules (common, bukkit, and paper) to cleanly separate platform-specific code from core logic. This lays the groundwork for easier future expansion and maintenance. From a server owner's perspective, nothing changes except that there are now two separate jars: one for Spigot/Bukkit servers and one for Paper servers. Use whichever matches your server.

Note for server owners upgrading from 1.1.0: No data migration is needed. Your existing strength.yml is fully compatible. If you are switching from the old single jar to the Paper jar, just swap the file; player data carries over automatically.

1.0.1Релиз1.21.8, 1.21.9, 1.21.10 · 18 октября 2025 г.
  • Fixed some text styling inconsistencies
  • Added a check for players using the /strength get command which I had forgotten to do earlier.

Комментарии

Загружаем…