☄️
Asteroid
  • Overview
    • 🎓Introduction
  • Installation
    • ❗Dependencies
    • ⚡How to install
  • Setup
    • 💼Commands
    • 📎Placeholders
    • 🌟Features
      • UUID Access
      • Command Masker
      • Multiplier
      • Connect or Disconnect Fake Players
      • Easily Generate Real or Cracked UUIDs
      • Import Files + Bedrock Support
      • Randomized Join
      • Randomized Disconnect
      • On-Join Commands
      • One-Time Commands
      • Gravity + Pick-up items
      • Fluctuation
      • Scheduler
      • AI
      • Asteroid Proxy
        • RedisDB + Lettuce
        • MySQL
    • 🍩Addons
      • Ranks
  • Tips
    • 💡Cross-Server Player Count (Proxies using Redis)
  • API
    • 🚀AsteroidAPI
    • 🛠️Usage
      • Extension Development Guide
Powered by GitBook
On this page
  1. Setup
  2. Features

On-Join Commands

Create dynamic scenarios by executing custom commands after fake players join. These interactions add depth and excitement, making your server more captivating than ever.

  on_join_commands:
    delay: 5
    commands:
      - '50:eco give %player% {random[1000,10000,100]}' # Has a 50% chance to give the player a random amount of money between 1000 and 10000 that is divisible by 100
      - '80:eco give %player% {random[100,9000]}'
      - '10:eco give %player% {random[10000,100000,5]}'
  • Commands to be executed when a player joins, with specified chances, random values and a delay

Custom Messages

  • You can use the following at the beginning of ":" sudo! ; chat!

  • sudo! -> makes the fake player execute a command on join eg: "50:sudo!register (your authentication plugin command)"

  • chat! -> makes the fake player say something when he joins eg: "50:chat!sup everyone!"

Custom Chances

  • Normally, the commands are executed weight randomly based (for more accurate results)

  • You can use -999 instead of a normal number to execute a command URGENTLY that doesn't take into account the delay eg: "-999:sudo!login (password)"

PreviousRandomized DisconnectNextOne-Time Commands

Last updated 1 year ago

🌟