ModsJava
PlayerActions
Java mod listed for Minecraft 1.11–1.16. Downloads from the MC Java Mods app on Android.
⬇ Download on Spigot
PlayerActions
PlayerActions is a Flexible plugin for players to interact with each other!
Important!! The plugin needs TNK API to work (https://www.spigotmc.org/resources/tnk-api.72966/), also it is automatically DOWNLOADING at the first time of the server with this plugin.
This plugin is designed for interaction between players, such as transferring money, adding a player to the region (there are already developments) and all other actions that can be done with each other and much easier!
Features:
- Customization
This plugin has a very, very large customization. Configure language, menus, own commands, permissions and many other things! Also all settings are well documented.
Default configs: https://gist.github.com/Tankonyako/6cef8f3fecbacd467fc80d7a96a3597e - API
We support API and deep integration of your plugin into our plugin, at the end of the description there will be a description about developers and API for them. - Simple & Fun
A plugin that simplifies life and adds a drop of roleplay to your server! As for example: transfer of money near. Also in the future we plan to make separate Addons for our plugin which will be very tasty! - Multilanguage
The plugin has support for English, Russian, Ukrainian, Japanese, Germany, Romanian, French languages at once!
This plugin currently supports these methods of interactions:
- Command
This trigger is called when writing a command in a game chat. - Click's
This trigger is triggered when you click on a player. - List menu
Add's list menu (opened from command), also can replace /list command
Permissions:
- pa.updater.notify
Notify player about new plugin update..
- pa.use.command
Use /paction (or custom) command. - pa.use.admin
Use /padmin admin command. - pa.list.command
Use /list (or custom) command.
----
SMALL DEMONSTRATION ----
Developer API:
Spoiler: Expand
You must add PlayerActions.jar in dependencies before using our API!
Also in plugin.yml add PlayerActions to depend:
JavaDoc's: https://www.bohdanchik.com/javadoc/playeractions1_0/
Examples:
Also in plugin.yml add PlayerActions to depend:
Code (YAML):
depend
:
- PlayerActions
- PlayerActions
JavaDoc's: https://www.bohdanchik.com/javadoc/playeractions1_0/
Examples:
Spoiler: Making own addon
Code (Java):
import
org.bitbucket.fudotsu.playeractions.addons.PAddon
;
import org.bitbucket.fudotsu.playeractions.events.PlayerActionAddonPrepareItemEvent ;
import org.bukkit.Bukkit ;
import org.bukkit.event.EventHandler ;
public class ExampleAddon extends PAddon {
JavaPlugin plugin ;
public ExampleAddon (JavaPlugin plugin ) {
super ( "Example Addon" ) ;
this. plugin = plugin ;
}
public void init ( ) {
Bukkit. getPluginManager ( ). registerEvents ( this, plugin ) ; // Listener
}
public void uninit ( ) {
}
@EventHandler
public void prepareItem (PlayerActionAddonPrepareItemEvent event ) { // Listener for preparing item's
if (event. getAddonID ( ). equalsIgnoreCase ( "object1" ) ) { // If item 'addon' setting == "object1"
event. setEvent ( (e ) -> {
if (event. getArguments ( ). getVar ( "close", Boolean. class, false ) ) e. getWhoClicked ( ). closeInventory ( ) ;
} ) ;
} else if (event. getAddonID ( ). equalsIgnoreCase ( "object2" ) ) { // If item 'addon' setting == "object2"
event. setEvent ( (e ) -> {
if (event. getArguments ( ). getVar ( "close", Boolean. class, false ) ) e. getWhoClicked ( ). closeInventory ( ) ;
} ) ;
}
}
}
import org.bitbucket.fudotsu.playeractions.events.PlayerActionAddonPrepareItemEvent ;
import org.bukkit.Bukkit ;
import org.bukkit.event.EventHandler ;
public class ExampleAddon extends PAddon {
JavaPlugin plugin ;
public ExampleAddon (JavaPlugin plugin ) {
super ( "Example Addon" ) ;
this. plugin = plugin ;
}
public void init ( ) {
Bukkit. getPluginManager ( ). registerEvents ( this, plugin ) ; // Listener
}
public void uninit ( ) {
}
@EventHandler
public void prepareItem (PlayerActionAddonPrepareItemEvent event ) { // Listener for preparing item's
if (event. getAddonID ( ). equalsIgnoreCase ( "object1" ) ) { // If item 'addon' setting == "object1"
event. setEvent ( (e ) -> {
if (event. getArguments ( ). getVar ( "close", Boolean. class, false ) ) e. getWhoClicked ( ). closeInventory ( ) ;
} ) ;
} else if (event. getAddonID ( ). equalsIgnoreCase ( "object2" ) ) { // If item 'addon' setting == "object2"
event. setEvent ( (e ) -> {
if (event. getArguments ( ). getVar ( "close", Boolean. class, false ) ) e. getWhoClicked ( ). closeInventory ( ) ;
} ) ;
}
}
}
Spoiler: Register addon in PlayerActions
Code (Java):
PApi.
getAddonManager
(
).
register
(
new ExampleAddon
(plugin
)
)
;
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.11, 1.12, 1.13
- 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.
PlayerActions is a free Minecraft Java mod. Compatible with Minecraft 1.11, 1.12, 1.13, 1.14 and newer. Downloaded 277 times (via Spigot). Download it and open it directly in the game.