Community listing page, reviews here may not be monitored by the author.
RandomConfigs
No reviews yet
A utility mod for setting default configurations, gamerules, difficulties and world borders.
Community voices
Reviews
Filters
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
Sponsor
I've partnered with Apex Hosting! In my experience, their servers are lag-free, easy to manage, and of high quality. Check them out here:
RandomConfigs is a utility mod that allows you to set default configurations, gamerules, difficulties, world borders. When installed on the client, it is completely compatible with vanilla servers, and when installed on a server, it is completely compatible with vanilla clients. This also means that the client can connect with a different version of the mod to the one on the server.
The 1.13 Rift version requires Rift.
The 1.13.2 Rift version requires Chocohead's fork of Rift, which can be downloaded here.
The Fabric version can be found here.
Default configs
RandomConfigs reads an array of objects from config/randomconfigs/defaultconfigs.json, written in the following format:
[
{
"source": String,
"destination": String,
"side": ConfigSide,
"version": int
}
]
"source" refers to any file in config/randomconfigs/defaultconfigs.
"destination" refers to any file within the Minecraft directory.
"side" can be one of "client", "server", and "both".
The file referred to by "source" is copied to "destination" if "destination" does not exist.
"version" is just any integer value. If "version" changes, the config is forcibly updated. This is useful if you have already shipped a default config with your modpack and want to force a change.
RandomConfigs' default configs feature loads earlier than More Default Options' version, which means it is compatible with more mods. RandomConfigs also works server-side only.
Default gamerules
RandomConfigs can set default gamerules depending on game mode and world type. It can also set the default world border size and difficulty and forcibly set gamerules so they cannot be changed. Default gamerules are stored in config/randomconfigs/defaultgamerules.json and an example can be found here. It should be noted that on 1.16, only the "default" and "flat" world types are supported.
Attack speeds
RandomConfigs allows different attack speeds to be set for specific items. Additionally, attacks can be disabled during the attack cooldown. The attack speed configuration is stored in config/randomconfigs/attackspeeds.json and an example can be found here.
The attack speed controls the length of the cooldown time. The time taken is 1 / attack speed * 20 ticks. Tools have their own attack speed modifiers, which means that depending on the tool being held, the attack speed will differ. By default, the attack speed is 4.0, which means that an empty hand will take a quarter of a second to reach maximum damage. Swords take 2.4 from the attack speed, and axes take between 3 and 3.2 depending on the material. For example, if the attack speed for swords is set to below 2.4, the actual attack speed will be negative.
The attack speed configuration can be reloaded using the /asreload and /asreloadclient commands, although the /asreloadclient command does not exist on Rift or Forge 1.13. It also currently does not exist for Forge 1.14 and higher.
NOTE: RandomConfigs uses Jankson for JSON processing, which fixes quirks such as missing commas and omitted quotes.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
