File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ # Flare for Bukkit
2+
3+ Downloads can be found under releases.
4+
5+ ## Setup
6+
7+ There are two primary things that should be setup in order to optimally use Flare, however they are not required.
8+
9+ ### 1. Add the Java flags
10+
11+ ```
12+ -XX:+UnlockDiagnosticVMOptions -XX:+DebugNonSafepoints
13+ ```
14+
15+ These two flags will ensure that you are getting the most accurate data in your Flares.
16+
17+ ### 2. Use a JVM with debug symbols
18+
19+ Most JDK distributions include debug symbols for Java 16+, but some distributions do not.
20+ You can test with the following command:
21+
22+ ``` bash
23+ gdb $JAVA_HOME /lib/server/libjvm.so -ex ' info address UseG1GC'
24+ ```
25+
26+ If the UseG1GC symbol is found, then the debug symbols are present and you can use memory profiling.
27+
28+
29+ ### 3. Add Flare token
30+
31+ Once you subscribe to [ the Patreon] ( https://www.patreon.com/airplane ) you can find your token [ here] ( https://auth.airplane.gg ) .
32+ Put this inside ` plugins/FlarePlugin/config.yml ` like so:
33+
34+ ``` yaml
35+ flare :
36+ url : https://flare.airplane.gg
37+ token : " mytokenhere"
38+ ` ` `
39+
40+ Finally, you can run ` /flare` in-game to start profiling!
41+
42+
43+ # # License
44+
45+ MIT
You can’t perform that action at this time.
0 commit comments