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

PhantomIsolation

Prevent phantom to spawn for themself

Загрузки
1K
Подписчики
9
Обновлён
8 мая 2023 г.
Лицензия
MIT

Опубликован 14 апреля 2023 г.

PhantomIsolation is a plugin allow player choose phantom should spawn on them self.

Key Features:

  1. In-game command to check, enabled, disabled setting.

  2. Permission-based access: Server administrators can control which players have access to the plugin's features by configuring permissions.

  3. Configurable messages and settings

  4. Support Mysql , Flat Flies storage type

In summary, PhantomIsolation is help player don't like phantom still enjoy the game.

Permissions & Commands

Command Description Permission Default
/pil usage command list ``
/pil check check current settings
/pil status check current settings
/pil enable disable phantom to spawn on you
/pil on disable phantom to spawn on you
/pil disable enable phantom to spawn on you
/pil off enable phantom to spawn on you
/phantomisolationreload reload configuration flies phantomisolation.reload false
/pilr reload configuration flies phantomisolation.reload false
/phantomisolation <usage> alias command for easy to using command

Config.yml

# PhantomIsolation2 Configuration

# PhantomIsolation command messages
phantomisolation-command:
  messages:
    status: "&aPhantom Isolation is currently %status%"
    status_enabled: "&aenabled"
    status_disabled: "&cdisabled"
    not-player: "&cThis command can only be executed by a player!"
    enabled: "&aPhantom Isolation is now enabled."
    disable: "&cPhantom Isolation is now disabled."
    usage: "&6Usage: /phantomisolation &a[check|disable|enable]"

# PhantomIsolationReload command messages
phantomisolationreload-command:
  messages:
    reload-config: "&aConfiguration reloaded successfully."
    reload-config-error: "&cAn error occurred while reloading the configuration."

# Database settings and error messages
database:
  # Database type
  datatype: "flatfile" # Options: "flatfile" or "mysql"

  # MySQL database settings (only used if datatype is "mysql")
  address: "localhost:3306"
  user: "username"
  password: "password"
  database: "phantom_isolation"

  # Flat file error messages
  flatfile-messages:
    fail-load: "&cFailed to load data from the flat file."
    fail-save: "&cFailed to save data to the flat file."

  # MySQL error messages
  mysql-messages:
    fail-connect: "&cFailed to connect to MySQL database."
    fail-load: "&cFailed to load data from the MySQL database."
    fail-save: "&cFailed to save data to the MySQL database."

Contributing

If you would like to contribute to PhantomIsolation, feel free to submit a pull request with your changes. All contributions are welcome and appreciated.

License

This plugin is licensed under the MIT license. See LICENSE.md for more information.

Ченджлог

2.3Релиз26.1, 26.1.1, 26.1.2 · 8 мая 2023 г.

fa6d43f - onspawn / boolean store in flatflies

5219007 - mysql check player is online

2315d28 - vaule too high check

9701b64 - scheduler not work on folia

2.2-aРелиз1.19.2, 1.19.3, 1.19.4 · 5 мая 2023 г.

2315d2 - value too high check a81741 - hotfix version

https://github.com/Hynse/PhantomIsolation2/commits/master

2.2Релиз1.19.2, 1.19.3, 1.19.4 · 29 апреля 2023 г.
2.1Релиз1.19.2, 1.19.3, 1.19.4 · 28 апреля 2023 г.
  • Fix Permissions typo on plugin.yml
  • Check Permissions before execute command
2.0-REWRITEРелиз1.19.2, 1.19.3, 1.19.4 · 28 апреля 2023 г.
  • Refactor code base
  • Faster Optimize
  • Support more platform
  • Support more version
  • Support MYSQL storage
  • Flat storage better format with Json
  • Confinable Message
  • Confinable Delay
  • Permission Base

Комментарии

Загружаем…