ModsJava
LWCX-TrustAddon (MYSQL) | Allow players to share all protections with one command
Java mod listed for Minecraft 1.8–1.16. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotBy the way! Check out my server at play.sunknights.fun!
About
First of all, this addon is inspired by LWC Trust. Go check it out. However, since I need MYSQL for my own server to use, I created this plugin which does what it does and supports MYSQL!
Addon Features
This plugin adds a trust command which allows players to grant access to all of their protections whether or not they are actually added to each protection individually. (i.e. without /cmodify -ing every single chest)
On top of that, every message sent by this addon can be modified in the config to suit your server.
Dependency
- LWCX
Installation
1. Put LWCX-TrustMysqlAddon.jar into the plugins folder along with the dependency.
2. Start the server
3. Stop the server
4. Edit the config (especially the MYSQL stuff)
5. Start the server
Commands
/ctrust add <player> - Add a player to your trust list
/ctrust remove <player> - Remove a player from your trust list
/ctrust clear- Remove all players from your trust list
/ctrust list - List all players in your trust list.
/lwc admin reload - reload LWCX as well as this addon
Permissions
lwcxtrust.use - Allows a player to use all /ctrust commands [default: op]
Default Config
Report problems in the discussion, not in a review. Thanks
Disclaimer: I am not the creator of LWC or LWCX, I created this plugin for my own server use, but since it works quite well, I decided it would be nice to share it with the community.
About
First of all, this addon is inspired by LWC Trust. Go check it out. However, since I need MYSQL for my own server to use, I created this plugin which does what it does and supports MYSQL!
Addon Features
This plugin adds a trust command which allows players to grant access to all of their protections whether or not they are actually added to each protection individually. (i.e. without /cmodify -ing every single chest)
On top of that, every message sent by this addon can be modified in the config to suit your server.
Dependency
- LWCX
Installation
1. Put LWCX-TrustMysqlAddon.jar into the plugins folder along with the dependency.
2. Start the server
3. Stop the server
4. Edit the config (especially the MYSQL stuff)
5. Start the server
Commands
/ctrust add <player> - Add a player to your trust list
/ctrust remove <player> - Remove a player from your trust list
/ctrust clear- Remove all players from your trust list
/ctrust list - List all players in your trust list.
/lwc admin reload - reload LWCX as well as this addon
Permissions
lwcxtrust.use - Allows a player to use all /ctrust commands [default: op]
Default Config
Spoiler: Show Config
Code (Text):
MYSQL:
host: "host"
port: 3306
database: "database"
username: "username"
password: "password"
Options:
sharedMessageNoticeEnabled: true
sharedMessageNoticeCooldownSeconds: 2
sharedDestoryNoticeEnabled: true
Messages:
add: '&2Registered trust for the player &6%s'
addalready: '&eThe player &6%s &eis already in your trusted list'
addempty: '&2Registered a trusted player'
addorremoveself: '&cYou cannot %s yourself'
remove: '&2Removed trust from the player &6%s'
removeempty: '&2Remove trust from a player'
removefail: '&cThe player &6%s &eis not trusted already'
clear: '&2Removed all trusted players'
list: 'You trust: %s'
listempty: You trust no one.
description: Manage your protection trusts.
wrongusage: 'Usage: %s'
playernotfound: '&cThat player does not exist in database!'
share: '&6%s is sharing his or her protections with you!'
sharedcannotbreak: '&cYou cannot break protections shared to you by &e%s'
sharedkilled: '&eYou just removed a protection owned by &e%s'
nolwc: 'Unable to hook into LWC! Please check to make sure that it is up-to-date, and enabled.'
host: "host"
port: 3306
database: "database"
username: "username"
password: "password"
Options:
sharedMessageNoticeEnabled: true
sharedMessageNoticeCooldownSeconds: 2
sharedDestoryNoticeEnabled: true
Messages:
add: '&2Registered trust for the player &6%s'
addalready: '&eThe player &6%s &eis already in your trusted list'
addempty: '&2Registered a trusted player'
addorremoveself: '&cYou cannot %s yourself'
remove: '&2Removed trust from the player &6%s'
removeempty: '&2Remove trust from a player'
removefail: '&cThe player &6%s &eis not trusted already'
clear: '&2Removed all trusted players'
list: 'You trust: %s'
listempty: You trust no one.
description: Manage your protection trusts.
wrongusage: 'Usage: %s'
playernotfound: '&cThat player does not exist in database!'
share: '&6%s is sharing his or her protections with you!'
sharedcannotbreak: '&cYou cannot break protections shared to you by &e%s'
sharedkilled: '&eYou just removed a protection owned by &e%s'
nolwc: 'Unable to hook into LWC! Please check to make sure that it is up-to-date, and enabled.'
Report problems in the discussion, not in a review. Thanks
Disclaimer: I am not the creator of LWC or LWCX, I created this plugin for my own server use, but since it works quite well, I decided it would be nice to share it with the community.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
LWCX-TrustAddon (MYSQL) | Allow players to share all protections with one command is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 340 times (via Spigot). Download it and open it directly in the game.