EasyEvents
Events are something all of us wish to have in our lives. We want to get together with our communities and enjoy ourselves. This is the easiest plugin for that. Any server owner, no matter what skill level they are at, can create events using this plugin.
Installation
Just put the jar file in your plugins folder.
Commands
Basic Commands:
/event help - lists commands (will only show commands that the player has permission to use.)
/event join - Join an event
/event leave - Leave an event
/event info - Information on the event, including members and settings
Creation commands:
/event fill - Begins filling an event. Use this command first. Advertises the event in chat as well.
/event start - Teleports players and announces starting.
/event settings - Modify event settings, read settings section for more information
Permissions
Most commands have their own permissions:
/event join - easyevents.join (the permission is only used if the "perm" setting is set to true)
/event fill - easyevents.fill
/event start - easyevents.start
/event settings - easyevents.settings
Settings
There are currently two modifiable settings, PERM and MAXPLAYERS.
Perm is toggled using "/event settings perm" and dictates whether to require permissions from people who wish to join an event. If perm is true, event messages are only sent to people with the permission, so you should set this before you start filling an event.´
Maxplayers is a number and can be set using "/event settings maxplayers <amount>". Set the value to 0 to have an unlimited capacity. If maxplayers is set, join messages will show how full the event is.
Configuration
The config file is mainly used to edit strings.
Default config file:
# Variables:
# PERM - The permission for NoPerms messages
# PLAYER - Display name of the player, used for join message.
# CAP - The maximum players for an event, used in join broadcasts and setting responses
# SIZE - The number of players in an event, used in join broadcasts
#
# If a message doesn't have a variable in the default config, the message won't replace it. This is because I'm lazy!
#
# limited - Event has player cap
# unlimited - Event does not have cap
#
# open - event does NOT require permission
# closed - Event does require permission
maxplayers: 2
permission: false
messages:
noperms: '&cSorry, you need the permission &3PERM &cto use this command.'
help:
start: '&b/event start &3- Starts an already filling event, teleporting all players
in the event to the player.'
fill: '&b/event fill &3- Begins filling an event and announces it in chat'
join: '&b/event join &3- Joins the currently filling event.'
leave: '&b/event leave &3- Leaves the event'
settings: '&b/event settings &3- Changes event settings'
info: '&b/event info &3- Event Information'
join:
noevent: '&cNo event is currently filling, or the event is full.'
toPlayer: '&1You joined the event. You will be teleported to the event location
when the event starts.'
broadcast:
limited:
open: '&aPLAYER has joined the event! Do &c/event join! &a(SIZE/CAP)'
closed: '&aPLAYER has joined the event! Do &c/event join! &a(SIZE/CAP)'
unlimited:
open: '&aPLAYER has joined the event! Do &c/event join!'
closed: '&aPLAYER has joined the event! Do &c/event join!'
alreadyIn: '&cYou''re already queued for the event.'
noPerms: '&cThis event requires the permission &3easyevents.join &cto join.'
start:
broadcast:
open: '&aThe event will now start.'
closed: '&aThe event will now start.'
noEvent: '&cNo event is filling. Do /event fill first.'
leave:
success: '&aYou have left the event.'
notIn: '&cYou aren''t in the event!'
settings:
header: '&bEvent settings types:'
perm:
help: '&bperm &3- True/False, should the event require permission to join?'
'true': '&aPermission will now be required.'
'false': '&cPermission will no longer be required.'
maxplayers:
help: '&bmaxplayers &3- Number, what should the event cap be? (Set to 0 for
unlimited)'
argsError: '&cUsage: /event settings maxplayers 10'
notNumber: '&cThe value after maxplayers has to be a number. Example: &e/event
settings maxplayers 10'
success: The maximum number of members for the event is now CAP
successUnlimited: The maximum number of members for the event is now unlimited.
maxplayers:
help: '&bmaxplayers &3- Number, what should the event cap be? (Set to 0 for
unlimited)'
argsError: '&cUsage: /event settings maxplayers 10'
notNumber: '&cThe value after maxplayers has to be a number. Example: &e/event
settings maxplayers 10'
success: The maximum number of members for the event is now CAP
successUnlimited: The maximum number of members for the event is now unlimited.
fill: '&aA new event has just started filling! Do &c/event join &ato join.'
The only things that don't have a config-editable string are:
- The default command (/event) when run with no arguments.
- /event info
- Toggling /event settings perm
Contacting me
I never check this page or my dms on this site. If you want a response in a timely manner, DM me on discord @Reinified#2891.
Thanks! Suggestions/bug reports are widely appreciated.
-
View User Profile
-
Send Message
Posted Mar 2, 2019Hey! I test this plugin, and Im very sad :(
The plugin doesn´ t maked config.
So.. I cant create events because I haven´ t a config.
Pls update or add config to download.
PetyXbron server owner: PLAYCRAFT
-
View User Profile
-
Send Message
Posted Jun 15, 2019In reply to Forge_User_32270584:
Hi,
Sorry for the very late reply.
I've been quite busy as of late, but I'm looking to update the plugin with new features and hearing of this bug worries me. I can't really test it out without knowing a little more about the server you're running, so could you please tell me these things:
a) what bukkit version is your server running?
b) what java version do you have? (check this through the "about java" program.)
c) what operating system do you use?(f.ex. Windows 10 Pro)
While I work to make a new update and hopefully fix this bug, you may want to (for now) make a config file yourself by making a new folder named EasyEvents in the "plugins" folder of your server, then putting a file named "config.yaml" in the EasyEvents folder and copy-pasting the default config into that file.
Thanks for your interest in the plugin!
-
View User Profile
-
Send Message
Posted Nov 24, 2018Hey, I have no idea what versions this plugin is compatible with, so I just selected the one I made it with. If you own a server and would like to quickly test a version out, please feel free to do so and tell me your results.