Compare commits

...
3 Commits
5 changed files with 75 additions and 5 deletions
+63
View File
@@ -0,0 +1,63 @@
#Whether scripting is enabled or not
EnableScripting=true
#Arguments given to the Nashorn scripting library
NashorArguments=-strict
#Disable Chat Bubbles
EnableChatBubbles=true
#Navigation search range for NPCs. Not recommended to increase if you have a slow pc or on a server
NpcNavRange=32
#Limit too how many npcs can be in one chunk for natural spawning
NpcNaturalSpawningChunkLimit=4
#Set to true if you want the dialog command option to be able to use op commands like tp etc
NpcUseOpCommands=false
#If set to true only opped people can use the /noppes command
NoppesCommandOpOnly=false
InventoryGuiEnabled=true
SceneButtonsEnabled=true
#Enables CustomNpcs startup update message
EnableUpdateChecker=false
#Default interact line. Leave empty to not have one
DefaultInteractLine=Hello @p
#Number of chunk loading npcs that can be active at the same time
ChuckLoaders=20
#Enables leaves decay
LeavesDecayEnabled=true
#Enables Vine Growth
VineGrowthEnabled=true
#Enables Ice Melting
IceMeltsEnabled=true
#Normal players can use soulstone on animals
SoulStoneAnimals=true
#Normal players can use soulstone on all npcs
SoulStoneNPCs=false
#Type 0 = Normal, Type 1 = Solid
HeadWearType=1
#When set to Minecraft it will use minecrafts font, when Default it will use OpenSans. Can only use fonts installed on your PC
FontType=Default
#Font size for custom fonts (doesn't work with minecrafts font)
FontSize=18
#On some servers or with certain plugins, it doesnt work, so you can disable it here
EnableInvisibleNpcs=true
NpcSpeachTriggersChatEvent=false
+1 -1
View File
@@ -206,7 +206,7 @@ _version = 4
# If enabled, a chat message will be displayed if the garbage
# collector Java is currently using is known
# to cause frame stuttering and/or other issues.
showGarbageCollectorWarning = true
showGarbageCollectorWarning = false
[common.worldGenerator]
#
+6 -2
View File
@@ -172,13 +172,17 @@ hash = "059e6ce496843881834b3945373bbdf7e022c64f2e900f845603db3de16a9ea7"
file = "config/curios-server.toml"
hash = "3c34cf9f7918c6a9ec15b14a87aa4570a751c1688f8ac01cb2e9acfb9392a734"
[[files]]
file = "config/CustomNpcs.cfg"
hash = "2727c506472169739fc547b275d1dd484e8b11a20db01c6f08f973594aeae956"
[[files]]
file = "config/cutthrough-client.toml"
hash = "16bc1f998738810cae793b1dc272122dde8b246bffa408f227357803e16ba692"
[[files]]
file = "config/DistantHorizons.toml"
hash = "5595378793a6c500e675dfd74e03de88b7e5c36bae78f3fc78880a951af5458e"
hash = "9bb187e00a7f21f06d2cca2451831dd3d62fe8aa02b5531cf7c6ed044e040d0c"
[[files]]
file = "config/dynamic_fps.json"
@@ -814,7 +818,7 @@ hash = "db4c4a8ab49265f6e8e456f495800ea148b133b18a3242aabca30b98ab7f784f"
[[files]]
file = "kubejs/client_scripts/createrp_plots.js"
hash = "4efdcd2dca1e5c3baa1ac523803ecbe86b93079d56be93f86c96a070a1d29c5f"
hash = "2a4686d252bd289fd99bde461bdfe3e2215cf35640f36e0610737730016ca2a0"
[[files]]
file = "kubejs/client_scripts/createrp_ponder.js"
+3
View File
@@ -18,6 +18,8 @@ const WALL_HALF = 1 / 16 // пів товщини стіни: у пло
let rpPlots = [] // { id, kind, walls: [[x1, z1, x2, z2], …] }
let rpByChunk = {} // "cx,cz" -> індекс у rpPlots
// державну землю при вході не підсвічуємо — її видно лише з довідником у руці
const RP_QUIET = { reserved: true, road: true, road_built: true, state_mine: true, state: true }
let rpHere = ''
let rpShowUntil = 0
let rpTick = 0
@@ -78,6 +80,7 @@ function rpDraw () {
var here = ''
for (var n = 0; n < rpPlots.length && here === ''; n++) {
var cells = rpPlots[n].cells
if (RP_QUIET[rpPlots[n].kind]) continue
for (var k = 0; k < cells.length; k++) if (cells[k][0] == cx && cells[k][1] == cz) { here = rpPlots[n].id; break }
}
if (here !== rpHere) { rpHere = here; if (here !== '') rpShowUntil = rpTick + SHOW_TICKS }
+2 -2
View File
@@ -1,12 +1,12 @@
name = "Create RP"
author = "Pinecraft-CreateRP"
version = "0.13.1"
version = "0.13.2"
pack-format = "packwiz:1.1.0"
[index]
file = "index.toml"
hash-format = "sha256"
hash = "f3e15d8ad0a056c06329546314d374d165bb6cb3218c1e2de8e1cb62badcda5b"
hash = "0a9751366e88c652fed13b052f32f8deab047fbac25ad828eaece6be6d3a6488"
[versions]
minecraft = "1.21.1"