Filled FirstJoinEffect

Discussion in 'Plugin Requests' started by madtomic, Mar 5, 2019.

Thread Status:
Not open for further replies.
  1. Minecraft version: 1.12.2

    Suggested name: FirstJoinEffect

    What I want: I like to request a very simple plugin to apply an effect on all new players when they first join on the server. This should not affect any returning players.

    Why I needed: I need to keep the surrounding dark to new coming players for few seconds while they are being teleported to the proper location.

    If you have a better way to do this. Please let me know.

    config.yml
    effect_on_first_join: blindness
    duration: 6 (seconds)

    Effect list:
    https://minecraft.gamepedia.com/Status_effect

    Ideas for command/permission: None

    Thank you for reading.
     
    Last edited: Mar 5, 2019
  2. Offline

    bluecreeper111

    https://www.dropbox.com/s/bt9j0m6r4aav7me/FirstJoin.jar?dl=0
    I altered the config file abit from your request.
    I changed it so instead of defining an effect to give the player, you can provide a list
    of commands to execute upon the players first join.
    I have already configured the command that will give the player the blinding
    effect in the config as a default so you really don't need to configure it.
    I don't know why you wouldn't use a different plugin like this though, there are several :p
     
  3. Online

    timtower Ninja on the waves Moderator

    @bluecreeper111 Please don't log your own plugins, Bukkit does that for you, and if you do it then please use the plugins logger and not the bukkit one.
     
  4. Offline

    bluecreeper111

    Sorry I don't understand what you mean.
     
  5. Online

    timtower Ninja on the waves Moderator

    Remove the logging in onEnable and onDisable, Bukkit logs for you already
     
  6. Offline

    bluecreeper111

    For sure, I knew this already but I still decided to for some reason.
     
  7. @bluecreeper111

    Works pretty well. Thanks

    It is /effect %player% effect duration for 1.12.2 anyway
     
    Last edited: Mar 8, 2019
Thread Status:
Not open for further replies.

Share This Page