OffHandActions - add actions when player switches hand (Clicks F button)! [1.9.x upto 1.11.x]

Status
This thread has been locked.

GC.

Banned
Feedback score
9
Posts
0
Reactions
45
Resources
0
OffHandActions

Add actions when player switches between his main and off hand (clicks F button)! Send message, run console command or make the player do it.


Actions that can be added in configuration:
  • [ConsoleCommand] - Run any command from console, has variable %player%
  • [PlayerCommand] - Make player who used the action run the command, has variable %player%
  • [Message] - Send player any message, has variable %player%

Example:
'[Message] &6Hello &e%player%!'

Config:
Code:
# ---------------------------------------------
#            OffHandActions by N3kas
# ---------------------------------------------
# Help:
#   disable-offhand: [true/false] - Should the off hand be disabled or not?
#   actions: List of actions:
#     [ConsoleCommand] - Run any command from console, has variable %player%
#     [PlayerCommand] - Make player who used the action run the command, has variable %player%
#     [Message] - Send player any message, has variable %player%
#    NOTE: THESE ACTIONS CAN BE ADDED UNLIMITED TIMES TO THE LIST (meaning: you can run multiple commands
#    or send multiple chat messages at once)
# ---------------------------------------------
# Good luck /w the plugin :) - N3kas
# ---------------------------------------------
disable-offhand: true
actions:
  - '[ConsoleCommand] tell %player% This server is using OffHandActions!'
  - '[PlayerCommand] /me Hey! :)'
  - '[Message] &7This server is using &eOffHandActions&7!'


You can add unlimited number of same actions in configuration (you can run multiple commands or send multiple chat messages at once)


Buy it now: Sellfy
Price: $0.99

Test server: 149.56.204.64:27289 (1.11 only)
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

GC.

Banned
Feedback score
9
Posts
0
Reactions
45
Resources
0
I'm positive that 90% of the server owners browsing MC-Market aren't using 1.9+. I would advertise this on spigot.

Regardless, good luck with sales.
Couldn't put this as premium on spigot as they would reject it due to it being "too simple" (my GKits plugin couldn't make to spigot premium, can't even imagine this going there).

Either way, thank you sir.
 
Banned forever. Reason: Ban Evading (N3kas)

LordOfTime

Feedback score
15
Posts
602
Reactions
245
Resources
0
Couldn't put this as premium on spigot as they would reject it due to it being "too simple" (my GKits plugin couldn't make to spigot premium, can't even imagine this going there).

Either way, thank you sir.

'Fraid I have to agree, the requirements for premium resources on Spigot are longer than you'd expect. Minimum code length, minimum complexity, can't have anything else in the market that does this, must have minimum number of free resources made, etc etc etc...
 

GC.

Banned
Feedback score
9
Posts
0
Reactions
45
Resources
0
'Fraid I have to agree, the requirements for premium resources on Spigot are longer than you'd expect. Minimum code length, minimum complexity, can't have anything else in the market that does this, must have minimum number of free resources made, etc etc etc...
Yea, well my GKits plugin met all the requirements, yet it got rejected.
 
Banned forever. Reason: Ban Evading (N3kas)

LordOfTime

Feedback score
15
Posts
602
Reactions
245
Resources
0
Yea, well my GKits plugin met all the requirements, yet it got rejected.

Spigot is a finicky bunch when it comes to resources. If I had to guess, it's because there was another GKits out there, either free or premium, and they denied it because of that. "Uniqueness" is one of their requirements.
 
Status
This thread has been locked.
Top