Coder Social home page Coder Social logo

hiddenplayer's Introduction

HiddenPlayer Bot Build Status

Simple Minecraft player bot and and Discord bot.

WARNING!

  • Using this bot may violate some server hosting Terms of Service and EULA.
  • Use this bot only on your own server Use it on other server at your own risk

Prerequisite

  • Node.js

If you haven't installed node.js yet you can download it here (requires Node 16.6.x or higher): https://nodejs.org/

This is my practice project. :)

config/config.yml

This is the default config.yml contents.

# Server Information
server:
  # Server IP address without port (Ask if empty)
  ip: play.ourmcworld.ml
  
  # Server port (Ask if empty)
  port: 39703
  
  # Reconnect interval timout when player disconnects
  reconnectTimeout: 5000

# Player Config
player:
  # Enable Player
  enabled: true
  
  # Player Name (Ask if empty)
  name: HiddenPlayer
  
  # Minecraft version (Will use supported latest version when empty)
  version:

  # Log death counts
  countdeaths:
    enabled: true # Enable death count logging
    src: config/deathcount.txt # Source file
  
  message: '/login hello' # Message on join
  
  # Attack hostile mobs
  pvp:
    enabled: true # Enable mobs attack
  
  # Some bot commands
  commands:
    reload: true # Enable !reload
    restart: true # Enable !restart
  
    # Admins for Player commands
  admin: []

  # Player chat delay
  chatDelay: 500

  # Enable Game autosave (OP permission required)
  autosave:
    enabled: false # Enable autosave
    interval: 60000 # Autosave interval

    
# Discord Configuration
discord:
  # Enable discord bot
  enabled: true
  
  # Discord bot token
  token:
  
  # Discord bot status
  presence:
    enable: true # Enable Discord bot status
    status: dnd # Bot status ( online, idle, dnd )
    type: LISTENING # Bot activity ( PLAYING, LISTENING, WATCHING, STREAMING )
    name: '>help' # Bot activity name
    url: https://minecraft.net # Bot activity url
  
  # Bot on message call prefixes
  prefix:
  - hiddenplayer
  - hidden
  
  command-prefix: ">" # Bot command prefix

  # Allow version commad
  version-command: 
    enabled: true
    admin-only: true
  
  # Embed Command
  embed:
    enabled: true # Enable Embed
    admin-only: true
    color: "#0099ff" # Embed Color
  
  # Enable !send command
  send-command: 
    enabled: true
    admin-only: true
  
  # Enable !spam (count) <Message> command
  spam:
    enabled: true # Enable spam command
    admin-only: true
    player_ping: false # Allow pings in spam messages
    max: 100 # Spam limit 

    # Disabled channels
    # make sure the disabled channel id is valid
    disabled_channels: []
  
  # Show player death count on Discord via command !deathcount
  deathcount:
    enabled: true
    admin-only: false
  
  # Enable random quotes message call
  motivate:
    enabled: true
    admin-only: false
    src: config/motivate.yml
  
  # Enable random facts message call
  facts:
    enabled: true
    admin-only: false
    src: config/facts.yml
  # Enable random gifs emote message call
  emotes:
    enabled: true
    admin-only: false
    src: config/emotes.yml

  # Enable random reaction gifs message call
  react:
    enabled: true
    admin-only: false
    src: config/reacts.yml

  # Ignored channels
  # make sure the ignored channel id is valid
  ignored_channels: []

  # make ignored channels to channel whitelist
  ignored_to_whitelist: false

  # Ignored users
  # make sure the ignored user id is valid
  ignored_users: []

# Database Configuration (Still unused)
database:
  enabled: false # Database enabled
  host: 127.0.0.1 # Database host
  user: root # Database username
  pass: '' # Database password
  database: bot # Database name

# Debugging log
debug:
  enabled: true  # Enable logs
  movements: false # Log player movements
  discord_chats: true # Show discord chats
  minecraft_chats: true # Show in-game chats
  prefix: '' # Debug mode playername prefix
  suffix: '' # Debug mode playername suffix

language: config/language.yml # Language file 
responses: config/response.yml # Custom reponse file

# Config version (Please don't modify)
version: 1.8.6

Discord not working?

Try Replacing token: ... with your bot's valid client token:

discord:
  token: # Discord bot client token

hiddenplayer's People

Contributors

dependabot[bot] avatar notghex avatar

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.