Sign in to follow this  
Followers 0
Hurdock

Suggestion: Better font ?

6 posts in this topic

it should be nice to be able to choose the 'clientside font' of the chat.

 

For example i would love to see the chat in Ubuntu font.

Share this post


Link to post
Share on other sites

You are already able to customize your chat.

 

/ui/style/main.css:

d869b81be39d41fda97586f57774238c.png

Share this post


Link to post
Share on other sites

Yes rage, but what about: Making some serverside settings to download and apply the font ?

Share this post


Link to post
Share on other sites
13 minutes ago, Hurdock said:

Yes rage, but what about: Making some serverside settings to download and apply the font ?

Serverside API is enough to make you able to replace whole chat. Also you can use html/css/js in chat messages.

Share this post


Link to post
Share on other sites
10 hours ago, ragempdev said:

Serverside API is enough to make you able to replace whole chat. Also you can use html/css/js in chat messages.

 

Can you give me an example please? I'm not very experienced with JS.

Also check pm.

Share this post


Link to post
Share on other sites

0.1 way of replacing chat:

player.outputChatBox("<script>window.location.url = 'your hosted /ui/index.html url';</script>");

 

HTML/CSS/JS in chat:

player.outputChatBox("<span style='font-family: Arial; color: white'>kk</span>");

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.