Is this Possible?

Status
This thread has been locked.

Jettoliver

Banned
Feedback score
14
Posts
859
Reactions
248
Resources
0
hey guys! I joined a server named TreasureWars and when I joined they had a custom voice announce and welcome me as a player. It was a real human voice. I'm wondering IF it's possible to make a plugin that allows me to put song files and then play the files in game? So players can /song list -> display all the songs and /song play
Which will play the song and /song stop -> stops the song. So for you developers out there, is this possible ???
 

xTheGamerCodes

Ultimate
Feedback score
0
Posts
10
Reactions
4
Resources
3
The only way to do custom sound like that would be to have a custom resource pack. I'll join said server to see if it actually does such a thing...
 

Bryce

Senior Java & Full-Stack Developer
Supreme
Feedback score
18
Posts
679
Reactions
932
Resources
20
hey guys! I joined a server named TreasureWars and when I joined they had a custom voice announce and welcome me as a player. It was a real human voice. I'm wondering IF it's possible to make a plugin that allows me to put song files and then play the files in game? So players can /song list -> display all the songs and /song play
Which will play the song and /song stop -> stops the song. So for you developers out there, is this possible ???

Was this done using a custom resource pack?
 

Bryce

Senior Java & Full-Stack Developer
Supreme
Feedback score
18
Posts
679
Reactions
932
Resources
20
When you join TreasureWars the server requires you to use there resource pack to hear the voice (soundpack). It probably is possible to do this in java. I am not sure how someone would approach it in java but a soundpack would be the best way to go. For the commands it is possible to do that through java. All the command has to do is mute all sounds towards that one player.

As I said, I am not sure how to approach this other than a soundpack.

You simply replace a sound in the default resource pack to a custom sound (ogg format). Then, through code, you would run the sound.

For example, I could replace the Anvil falling sound with a laser blast.

Then in code, I would easily run the sound Sound.ANVIL_FALL, which in turn, would run your custom sound.

I'm not sure if there's a way to map custom sounds and be able to invoke them from the server, however I doubt it.
 

Jettoliver

Banned
Feedback score
14
Posts
859
Reactions
248
Resources
0
You simply replace a sound in the default resource pack to a custom sound (ogg format). Then, through code, you would run the sound.

For example, I could replace the Anvil falling sound with a laser blast.

Then in code, I would easily run the sound Sound.ANVIL_FALL, which in turn, would run your custom sound.

I'm not sure if there's a way to map custom sounds and be able to invoke them from the server, however I doubt it.
hmm but would it be possible to play songs 2-3 mins long?
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/jettoliver-scam-report.523525/)

Jettoliver

Banned
Feedback score
14
Posts
859
Reactions
248
Resources
0
I have never tried using a 2-3 minutes long song but I don't see why it wouldn't work.
Ok :) Do you think you could tell me a fair estimated price for this?
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/jettoliver-scam-report.523525/)

Spoch

Developer & Game seller
Supreme
Feedback score
13
Posts
271
Reactions
112
Resources
0
If you just want something that plays a song while doing a command it would probably be around $2
In your case it would probably be around $5
I haven't really worked with soundpacks so there might be difficulties I don't know about.
 
Last edited:

Jettoliver

Banned
Feedback score
14
Posts
859
Reactions
248
Resources
0
If you just want something that plays a song while doing a command it would probably be around $2
In your case it would probably be around $5
I haven't really worked with soundpacks so there might be difficulties I don't know about.
Any chance your able to do this for me?
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/jettoliver-scam-report.523525/)

Jettoliver

Banned
Feedback score
14
Posts
859
Reactions
248
Resources
0
Ok, well if your able to make it so players can create playlists and such id be more than happy to pay you $5-8.
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/jettoliver-scam-report.523525/)

Bill

a rare billy boy has appeared
Premium
Feedback score
11
Posts
843
Reactions
335
Resources
2
5$ is a little for something like this imo, and you can map custom sounds to play ingame. I could do this for you but I won´t bother to do it for such a low budget. It wouldn´t be worth the time.
 
Status
This thread has been locked.
Top