Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsPilgaard committed Oct 3, 2024
1 parent c00a197 commit 85d2fd5
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/utilitarian-common.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#Enable No Startup Messages module
noStartupMessagesEnabled = true
#A list of word sequences that if contained in a message will be stopped.
noStartupMessagesMessages = []
#Disable recipe advancements
disableRecipeAdvancements = true
#Enable startup ding sound
enableDingDongStartupSound = true
#Name of sound to play. Default is entity.experience_orb.pickup
dingDongSound = "entity.experience_orb.pickup"
37 changes: 37 additions & 0 deletions config/utilitarian-server.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#Enable No Soliciting module
noSolicitingEnabled = true
#Range in chunks for no soliciting banner.
#Range: > 1
noSolicitingChunkRangeBanner = 6
#Range in chunks for players holding a restraining order.
#Range: > 1
noSolicitingChunkRangePlayer = 6
#Range in chunks for players holding a restraining order.
#Range: > 1
noSolicitingChunkRangeCarpet = 6
#Enable Hoe planting module
hoePlantingEnabled = true
#Additional height for sugar cane and cactus when growing on snad
#Range: > 0
additionalGrowthHeight = 3
#How many extra growth ticks to apply when on snad
#Range: > 0
additionalGrowthTicks = 5
#Damage done by drit when you step on it
#Range: 0.0 ~ 2.147483647E9
dritDamage = 2.0
#Tick rate for the fluid hopper. Lower number is faster ticking.
#Range: > 1
fluidHopperTickRate = 10
#Minimum tick rate for the redstone clock. Set this higher if you're worried about performance.
#Range: 1 ~ 24
minimumRedstoneClockTick = 5
#Get rid of the "too far away" and "there are monsters nearby" errors when trying to sleep.
betterSleepEnabled = true
#Enable No Trampling module
noTramplingEnabled = true
#When true using a wind charge will replenish some of the players air supply
windChargeAirSupplyEnabled = true
#How much air should a charge refill. Full air supply for a player is 300.
#Range: > 1
windChargeAirAmount = 100
19 changes: 19 additions & 0 deletions kubejs/server_scripts/recipes/utilitarian/remove.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
ServerEvents.recipes((event) => {
const recipes = [
// {
// input: 'sample',
// output: 'sample',
// type: 'sample',
// mod: 'sample',
// id: 'sample'
// }

{ output: 'utilitarian:soul_snad' },
{ output: 'utilitarian:drit' },
{ output: 'utilitarian:grrass' }
];

recipes.forEach((recipe) => {
event.remove(recipe);
});
});

0 comments on commit 85d2fd5

Please sign in to comment.