Loading...
Beta Modpages Unclaimed

RandomConfigs

A utility mod for setting default configurations, gamerules, difficulties and world borders.

0 Likes
241870 Downloads
Created by TheRandomLabs

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.


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

Mouse Tweaks

Enhances inventory management by adding various functions to the mouse buttons.

Bookshelf

An open source library for other mods!

Comforts (Fabric/Forge/Quilt)

Adds sleeping bags and hammocks for, respectively, portability and turning day to night, without setting new spawns. Comes in 16 different colors!

BetterFps

Performance Improvements

Supplementaries

Vanilla+ additions: Jars, signposts, faucets, weather vanes spring launchers, sconces, planters, lights, decoration and automation

RandomPatches (Forge)

A bunch of miscellaneous patches for Minecraft, including configurable connection timeouts, player speed limits and other bug fixes and improvements.

FancyMenu

Customize Minecraft's menus with ease!

Phosphor (Forge)

Performance improvements for Minecraft's lighting engine

Snad

Finally, sand that actually makes sugarcane grow faster.