Selling this cool ForgeAPI
Features:
Pricing:
JAR: $2
Source: $7
Features:
- Whitelist mods
- Blacklist mods
- Check mods user has active
- API
- /forgeusers & /fusers - View all the users who are on forge
- /forgecheck & /fcheck - Check if a player is on forge
- /mods - Check all the mods a player has active
Code:
no-permission: "&cNo permission."
could-not-find-player: "&cCould not find a player by the name of %player%."
not-on-forge: "&c%player% is not using forge."
on-forge: "&a%player% is using forge."
whitelist: false
mod-not-allowed: "&cThe server has detected you using a mod that is not allowed. \n\nPlease delete the following mod(s):\n\n%mods%\n\nIf this is an error, please contact an admin."
whitelisted-mods:
- "FML"
- "Forge"
- "cpsmod"
- "keystrokesmod"
- "ToggleSneak"
- "PlayerAPI"
- "StatusEffectHUD"
- "DirectionHUD"
- "Batty's Coordinates PLUS"
- "ArmorStatusHUD"
- "bspkrsCore"
- "mcp"
blacklisted-mods:
- "LiquidBounce"
Java:
@EventHandler
public void onForgeJoin(ForgeUserJoinEvent event) {
Player player = event.getPlayer();
event.getMods();
ForgeAPI.isForgeUser(player);
ForgeAPI.getMods(player);
}
Pricing:
JAR: $2
Source: $7
Last edited:
