Skip to content

Wraith0x10/OnixModuleControl-PM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OnixModuleControl

A PocketMine-MP plugin that lets server owners block or modify Onix Client modules or settings for players who join their server.

What It Does

This plugin gives you more control over what players can or can't use when they join your server with Onix Client. Whether you want to block things like Freelook or Hitboxes, or auto-enable helpful features like Double Click Prevent, this plugin makes it easy to do that through a simple config file.

View the official documentation here.

Config Example

# Onix Client Module Control Configuration
# You can find a list of modules here: https://github.com/OnixClient/translations/blob/main/client/languages/en_US.lang

# Server name that will be shown in Onix Client UI
server_name: "Server Name"

# Custom notification message (optional, leave empty to use default)
notification_message: ""

# BLOCKED MODULES
# Format:
#   module_name:
#     block: true
#     restriction_reason: "Optional message explaining why it's blocked"
blocked_modules:
  module.freelook.name:
    block: true
  module.hitboxes.name:
    block: true
    restriction_reason: "Wear your glasses instead."

# FORCED MODULES
# Format:
#   module_name:
#     force_enable: true
#     restriction_reason: "Optional message explaining why it's forced"
#     settings:
#       setting_name:
#         value: setting_value
#         min: minimum_value (optional)
#         max: maximum_value (optional)
#         lock_value: true/false (optional)
#         removed_options: [1, 2] (optional, for enum settings)
forced_modules:
  module.double_click_prevent.name:
    force_enable: true
    restriction_reason: "High CPS is not allowed on this server."
    settings:
      module.double_click_prevent.setting.limit_left_click.name:
        value: true
      module.double_click_prevent.setting.left_max.name:
        max: 17

# MODULE SETTINGS ONLY
# For modules that you don't want to block or force, but just want to change settings
# Format is the same as in the "settings" section above
module_settings:
  module.environment_changer.name:
    settings:
      module.environment_changer.setting.gamma.name:
        max: 3

Notes

  • This plugin only works with players using Onix Client.
  • If a player isn’t using Onix, it won’t affect them.

Result

img.png

About

A PocketMine-MP Plugin which allows you to block/enable certain modules automatically on Onix Client!

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages