Skip to content

Commit 8b5ba87

Browse files
committed
2 parents a52b23f + 44f8d1e commit 8b5ba87

1 file changed

Lines changed: 42 additions & 2 deletions

File tree

README.md

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,42 @@
1-
# ScoreboardAttributes
2-
A scoreboard library for Gorilla Tag
1+
<div align="center">
2+
<h1>ScoreboardAttributes</h1>
3+
<a href="https://github.com/developer9998/ScoreboardAttributes/blob/main/LICENSE/">
4+
<img src="https://img.shields.io/github/license/developer9998/ScoreboardAttributes?label=License&style=flat-square"</img></a>
5+
<a href="https://github.com/developer9998/ScoreboardAttributes/releases/latest">
6+
<img src="https://img.shields.io/github/downloads/developer9998/ScoreboardAttributes/total?label=Total%20Downloads&style=flat-square"<img></a>
7+
<a href="https://discord.gg/dev9998">
8+
<img src="https://img.shields.io/discord/989239017511989258?label=Dev%27s%20Discord&style=flat-square"</img></a>
9+
</div>
10+
11+
## What is ScoreboardAttributes?
12+
ScoreboardAttributes is a library for Gorilla Tag that gives players that show up on the Scoreboards their own attributes.
13+
14+
## For Developers
15+
Before you plan on adding or removing any attributes, you must link the library to your Visual Studio project.
16+
17+
**1. Right click "Dependencies" and then click "Add Project Reference..."**<br>
18+
<img src="https://github.com/developer9998/ScoreboardAttributes/blob/main/Marketing/Ref1.png" width=35% height=35%>
19+
20+
**2. Go the the "Browse" tab and then click "Browse..."**<br>
21+
<img src="https://github.com/developer9998/ScoreboardAttributes/blob/main/Marketing/Ref2.png" width=62% height=62%>
22+
23+
**3. Locate the library's DLL file, and then click on "OK"**
24+
<img src="https://github.com/developer9998/ScoreboardAttributes/blob/main/Marketing/Ref3.png" width=62% height=62%>
25+
26+
### Adding/Removing attributes
27+
Both adding and removing your own attributes is really simple.
28+
29+
To add an attribute, you will need the target player and the attribute name.<br>
30+
```cs
31+
PlayerTexts.RegisterAttribute("Hello world", Photon.Pun.PhotonNetwork.LocalPlayer);
32+
// This gives our local player an attribute. Our attribute is "Hello world".
33+
```
34+
35+
To remove an attribute, you will only need the target player.<br>
36+
**NOTE: This only removes attributes created from the same mod.**<br>
37+
```cs
38+
PlayerTexts.UnregisterAttribute(Photon.Pun.PhotonNetwork.LocalPlayer);
39+
// This removes our local player's attribute added in this mod.
40+
```
41+
42+
#### *This product is not affiliated with Gorilla Tag or Another Axiom LLC and is not endorsed or otherwise sponsored by Another Axiom LLC. Portions of the materials contained herein are property of Another Axiom LLC. © 2021 Another Axiom LLC.*

0 commit comments

Comments
 (0)