1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-08-05 08:10:19 +02:00
Files
minetestforfun_game
mods
3d_armor
3d_armor_classes
3dchest
WorldEdit
_misc
action_timers
ambience
areas
arrow_signs
automappercolors
bedrock
biome_lib
bobblocks
broomstick
builtin_falling
builtin_item
carts
chatplus
chesttools
christmas_craft
coloredwood
colormachine
colouredstonebricks
columnia
connected_chests
darkage
death_messages
dropondie
eventobjects
factions
fail
fences
fishing
food
framedglass
gauges
glow
hbarmor
hbhunger
homedecor_modpack
hudbars
interact
inventory_icon
inventorycheck
invtweak
irc
irc_commands
item_drop
jukebox
jumping
lantern
lavatemple
locked_sign
mana
mapfix
maptools
markers
maze
mesecons
metatools
mff
mobs
money
more_chests
moreblocks
moreores
moretrees
multitest
name_restrictions
names_per_ip
nether
news
notice
paintings
pclasses
pipeworks
plantlife_modpack
player_inactive
quartz
quests
random_messages
returnmirror
riesenpilz
rofl
runes
sea
shutdown
snow
snowdrift
solarmana
soundset
textures
README.md
depends.txt
init.lua
spawn
sponge
sprint
stained_glass
throwing
track_players
treasurer
trm_pyramids
tsm_pyramids
u_skins
unified_inventory
unifieddyes
vector_extras
warps
watershed
whoison
worldedge
xban2
other_things
worlds
.gitignore
.gitmodules
LICENSE
README.md
server-nalc/mods/soundset
crabman77 a2b7be291f modified unified_inventory to place buttons in 2 rows when +12
modified unified_inventory to hide buttons if player does not have the necessary privileges
modified other mods to adjust with unified_inventory
2015-06-30 16:15:58 +02:00
..
2015-06-20 21:24:55 +02:00

soundset MOD for MINETEST

by Mg (@LeMagnesium) and @crabman77

YOUR mod can use THIS mod to have a volume that's adjustable by the player(s)

EXEMPLE

minetest.sound_play("music_file", {to_player=player:get_player_name(),gain=sounds.get_gain(player:get_player_name(), "music")})

OR

minetest.sound_play("mob_sound", {to_player=player:get_player_name(),gain=sounds.get_gain(player:get_player_name(), "mobs")})

OR

minetest.sound_play("wind_sound", {to_player=player:get_player_name(),gain=sounds.get_gain(player:get_player_name(), "ambience")})

commandchat

/soundset : display menu

/soundsetg : display player config

/soundsets <music|ambience|mobs|other> : set volume

Licenses images: Author:mikhog http://opengameart.org/content/play-pause-mute-and-unmute-buttons CC0 1.0 Universal (CC0 1.0) Public Domain Dedication

0.1 - Initial Release

0.2 - change default volume to 50, add serialise|deserialise to read|write config file

0.3 - add menu setting and button for unified_inventory and chatcommand to display menu