EasyEvents

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

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.

 

 

 

 


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    307599
  • Created
    Nov 24, 2018
  • Last Released File
    Dec 18, 2018
  • Total Downloads
    608
  • License

Categories

Members

Recent Files