Giter VIP home page Giter VIP logo

regional-chat's Introduction

Regional Chat

Limits the range a player can talk and be heard via text chat.

Join my Discord server for support and updates

Commands

  • /shout <message> - Sends a message to all players in the server. Op required

Configuration

Since 1.1.0, you can use TOML or JSON5 for your config file! (Quilt Loader Required). Files for older versions of the mod (1.0.x) are automatically converted to TOML, but you may keep your file in json by moving it to the path below.

The file is located at config/regional_chat/regional_chat.toml/regional_chat.json5 in Quilt, or config/regional_chat.json in Fabric

Default

TOML:

# The range in blocks a player can talk and be heard
# range[0, 32767]
# default: 100
range = 100
# Whether to notify players about the distance a message was sent from
# default: true
notifyDistance = true
# The prefix to use when notifying players about the distance a message was sent from
# default: [From %.0f blocks away] 
distancePrefix = "[From %.0f blocks away] "
# Whether to allow operators to bypass the range limit
# default: true
opBypass = true
# The permission level required to bypass the range limit
# range[0, 4]
# default: 3
opRequiredPermissionLevel = 3
# Whether operators should have an unlimited hearing range
# default: false
opUnlimitedRange = false

JSON:

{
  "range": 100,
  "notify_distance": true,
  "distance_prefix": "[From %.0f blocks away] ",
  "op_bypass": true,
  "op_required_permission_level": 3,
  "op_unlimited_range": false
}

regional-chat's People

Contributors

iotabread avatar

Stargazers

TheRedBrain avatar

Watchers

 avatar

regional-chat's Issues

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.