hi, can i play sound from web site url? Example Code: player.PlaySound("http://www.bla.cz/Sound.mp4");
No, you can only play ingame sounds to players. However you can change the ingame sounds with resourcepacks. You can also send a resourcepack to a player, however they might not use it.
make a server resourcepack with the custom sounds you want and make the settings (in server.properties) that the server is using a server resourcepack. That means that whenever a player joins your server he/she will automaticcaly download + use that resourcepack you put in the server.properties Code:java if(CheesyFreezy.helped == true) { isSolved = true; like++;}
CheesyFreezy no i know code. but sound have big mb. and my texture pack now have 10 mb + song = 30 mb. Code: player.playSound(player.getLocation(), "minecraft/resources/newsound/Sound.OGG", 1,5);
Even if you magically could manage to do it without resource packs, the client would still have to download those songs
you can't import custom sounds in a plugin, but the only option i can think about is using a resourcepack. But maybe an idea for the new craftbukkit API, so you can import custom sounds