Releases: maxheyn/slapmap
Releases · maxheyn/slapmap
v1.1.0+1.18
This is the same as v1.1.0, but is now updated for 1.18.
v1.1.0
Slapmap v1.1.0 for 1.17.1
New Features:
- Added a config file under
config/slapmap.json
, values below. MaxWidth
andMaxHeight
are the limits to how wide or tall imported images can be when creating a new slapmap.- If you import a new image and specify
height=<number_larger_than_MaxHeight>
, it will clamp it to MaxHeight and provide a message letting you know that the image was resized based on the values in the config. It will also automatically resize images if they do not have a specified height but would have otherwise been larger than the set values. - You can change these live and save the file without needing to restart the server or use any commands to apply these. Once you change the values and save, any new slapmaps made will be subject to these restrictions.
- If you import a new image and specify
PermLevel
is the PermissionLevel needed to use any of slapmap's commands.- The default is 4, which means you need to be an operator with permission level 4 (the default operator permission level) to use the commands.
- To allow anyone to make slapmaps (dangerous on larger servers or with untrustworthy players), set this value to 0.
- You can set it to values 1-3 as well if you use the other operator permission levels on your server.
MultiplayerWorldName
is used for multiplayer worlds is used to make sure the slapmap database is placed in the correct directory. It defaults toworld
.- This value should match whatever you have
level-name
set as in yourserver.properties
file. If it does not match, your slapmaps will not be stored properly and you will lose any access to them via commands on restarts.
- This value should match whatever you have
IsDefaultSettings
is a debug value. Setting this to true and restarting your server should reset the config the default settings. You probably won't need to touch this.
Bug Fixes:
v1.0.3
1.17.1 Update
Updated to 1.17.1
- No longer requires op permissions to use the command.
- Will consider implementing a way to moderate it with permissions if there is demand for it.