Giter VIP home page Giter VIP logo

say-welcome's Introduction

💬 SayWelcome


A configurable PocketMine-MP plugin allows you to say welcome to a new player joining the server, and earn a reward for your kindness!

💻 Commands

Command Permission Default Description
/welcome saywelcome.welcom true Allow the player to welcome new players

💾 Config

---

#
#   __      __                ___   ____        _  _____ _    _
#   \ \    / /               |__ \ / __ \      (_)/ ____| |  (_)
#    \ \  / /__ _ __ _ __ ___   ) | |  | |_   _ _| (___ | | ___
#     \ \/ / _ \ '__| '__/ _ \ / /| |  | | | | | |\___ \| |/ / |
#      \  /  __/ |  | | |  __// /_| |__| | |_| | |____) |   <| |
#       \/ \___|_|  |_|  \___|____|\____/ \__,_|_|_____/|_|\_\_|
#

# Do you have a problem ?
# 
# Discord (en) : https://discord.gg/P8R4WhARrY
# Discord (fr) : https://discord.gg/DnmRbAxMbN



# Time before you can no longer welcome
welcome_time: "01:00"

messages:

  # --= Chat
  # Message when new player join
  new_player: "§2§l» §r§a{player} joined the server for the first time\nWelcome him !"
  # Message sent by the player who said welcome
  player_say_welcome:
    - "Welcome @{player} !"
    - "Hey @{player} !"
    - "Hi @{player} ! Welcome to the server!"
    - "Welcome @{player} ! I hope you like the server!"


  # --= Commands
  # Message when there is no new player
  no_new_player: "§cThere are no new player at this moment..."
  # Message when the player has already said welcome to the new player
  already_say_welcome: "§cYou have already say welcome to {player}"
  # Message when the player tries to welcome himself
  is_new_player: "§cYou can't say welcome to you !"


# Command to execute when player say welcome to new player
# exemple : give {player} 264 4
rewards:
  - "give {player} 264 4" # give 4 diamonds to the player who said welcome
  - "give {player} 265 10" # give 10 iron ingots to the player who said welcome


...

📫 Reach me

say-welcome's People

Contributors

unarray avatar poggit-bot avatar

Watchers

 avatar

Forkers

pm-pl

say-welcome's Issues

Dont work

image

I have tried every way I have added the welcome and none of them have given me the reward.

This is my config

---

#
#   __      __                ___   ____        _  _____ _    _
#   \ \    / /               |__ \ / __ \      (_)/ ____| |  (_)
#    \ \  / /__ _ __ _ __ ___   ) | |  | |_   _ _| (___ | | ___
#     \ \/ / _ \ '__| '__/ _ \ / /| |  | | | | | |\___ \| |/ / |
#      \  /  __/ |  | | |  __// /_| |__| | |_| | |____) |   <| |
#       \/ \___|_|  |_|  \___|____|\____/ \__,_|_|_____/|_|\_\_|
#

# Do you have a problem ?
# 
# Discord (en) : https://discord.gg/P8R4WhARrY
# Discord (fr) : https://discord.gg/DnmRbAxMbN



# Time before you can no longer welcome
welcome_time: "01:00"

messages:

  # --= Chat
  # Message when new player join
  new_player: "§2§l» §r§a{player} se ha unido por primera vez\nDarle la bienvenida !"
  # Message sent by the player who said welcome
  player_say_welcome:
    - "Bienvenido @{player}"
    - "Bienvenida @{player}"
    - "Bienvenido {player}"
    - "Bienvenida {player}"


  # --= Commands
  # Message when there is no new player
  no_new_player: "§cNo hay ningún jugador nuevo en este momento..."
  # Message when the player has already said welcome to the new player
  already_say_welcome: "§cYa le has dado la bienvenida a {player} anteriormente"
  # Message when the player tries to welcome himself
  is_new_player: "§cNo puedes decirte a ti mismo bienvenido/a!"


# Command to execute when player say welcome to new player
# exemple : give {player} 264 4
rewards:
  - "give {player} 264 4" # give 4 diamonds to the player who said welcome
  - "give {player} 265 10" # give 10 iron ingots to the player who said welcome


...

Plugin version 1.0.1
PHP 8.0
OS: Ubuntu
Pocketmine: 4.2.3

"Undefined array key 1"

[18:23:59.230] [Server thread/CRITICAL]: ErrorException: "Undefined array key 1" (EXCEPTION) in Main.php

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.