TMDevelopmentTinulica & Maiky

Welcome and first join

Welcome back: a private message on every join

Welcome

Private message to the player on every join, in welcome.yml > welcome. It uses the message format (chat with face, title, action bar, boss bar, sound, commands), plus:

Option
enabledfalse = off (same as config.yml > modules.welcome: false)
delay-tickswait before sending it (20 = 1 second), so it's not lost between the messages of other plugins

First join

First join: title, boss bar, a hello from everyone and commands that run once

Only the very first time a player joins, in welcome.yml > first-join:

Part
playermessage to the new player. Its commands run once in the life of the player (starter kit, rank, money...), right when he joins (1.0.1+): they don't wait for the skin
broadcastmessage to all the other players; {player} and the face are of the new player
broadcast.exclude-new-playertrue = the new player doesn't receive it
replace-welcometrue = on the first join only player is sent, not the welcome too
delay-tickswait before sending it
first-join:
  player:
    commands:
      console:
        - "give {player} bread 16"
        - "lp user {player} parent add default"

Test without rejoining: /fmes preview welcome, /fmes preview firstjoin, /fmes preview firstjoin-broadcast.

Join milestones (1.0.4+)

When a new player reaches a round number ({join_number} #100, #500, #1000...), everyone online gets a message: chat, title, sound, whatever you want. Its commands run once, right when that player joins, so you can give a prize to player #1000.

milestones:
  enabled: true
  numbers: [100, 250, 500, 1000, 2500, 5000, 10000]
  every: 0
  delay-ticks: 40
  broadcast:
    chat:
      face: true
      face-gap: "  "
      lines:
        - ""
        - "<gradient:#2F80ED:#56CCF2><bold>MILESTONE!</bold></gradient>"
        - "&f{player} &7is the player"
        - "&7number &#56CCF2#{join_number}&7!"
        - "&7Thank you all for playing."
        - ""
    title:
      title: "<gradient:#2F80ED:#56CCF2><bold>#{join_number}</bold></gradient>"
      subtitle: "&f{player} &7is our player number &f{join_number}"
      fade-in: 10
      stay: 60
      fade-out: 20
    sound: "ui.toast.challenge_complete"
    sound-volume: 0.8
    sound-pitch: 1.0
    commands:
      console:
        - "give {player} diamond 5"
      player: []
Option
enabledfalse = off. Off also when the milestones section is missing
numbersthe join numbers that get the message
everyalso every N new players (0 = off). E.g. every: 1000 = #1000, #2000, #3000...
delay-tickswait after the join (40 = 2 seconds), so it comes after the first join messages
broadcastthe message, with every key of the message format. {player}, the face and every placeholder are about the new player
  • What players see on #1000: a chat block with the face of the new player ("Steve is the player number #1000!"), the big title #1000 and the challenge sound.
  • {join_number} is always the number of that player, even if more new players join during the 2 seconds.
  • The counter is in data.yml: see FAQ to start again from #1.
  • Files made before 1.0.4 don't have this section: copy the example above at the end of your welcome.yml, then /fmes reload. New servers get it on by default.
  • Test it: /fmes preview milestone (shows it only to you, its commands are not run).

Ultimo aggiornamento:

Accedi

Nuovo? Scrivi solo la tua email: l'account nasce quando clicchi il link. Nessuna password.

oppure

Ti mandiamo un link che ti fa entrare con un clic. Vale per account nuovi ed esistenti.

Entra con la password

Continuando accetti i Termini e condizioni e la Privacy policy.

Staff: apri “Entra con la password” e scrivi il tuo nome utente al posto dell’email. Dopo la password ti chiediamo il codice 2FA.