Skip to content

Commit

Permalink
remove discord
Browse files Browse the repository at this point in the history
  • Loading branch information
EddieDover committed Mar 12, 2024
1 parent 8514a9a commit 4d146fe
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 23 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This module provides a GM with a table of characters, online only, or all, confi

The original intent of this module was to provide a 'party view' feature that I found missing when I first started using [FoundryVTT](https://www.foundryvtt.com) instead of [Fantasy Grounds](https://www.fantasygrounds.com). It will be updated with features that I personally want or need, or are requested of me by some poor soul. Several templates for various systems have been created, and more are already in the works with even more planned.

If you create a template, please submit it via email, Discord or GitHub as a Pull Request, and we will include it in future updates with full credit.
If you create a template, please submit it via email or GitHub as a Pull Request, and we will include it in future updates with full credit.

## Features
- Adds a 'Party Sheet' similar to that provided by Fantasy Grounds. Just click the Party Sheet icon on the Tokens Controls sub-menu.
Expand Down Expand Up @@ -38,14 +38,12 @@ If using native **Foundry**, place the templates you wish to use in the <FOUNDRY

If using **The Forge**, this module will create a folder at the top level of your Assets Library named `partysheets`. Place your templates in this folder.

If using The Forge, install the module on your local Foundry installation to have access to the [example_templates](https://github.com/EddieDover/fvtt-party-sheet/tree/main/example_templates) folder, and to upload any you would like to use to your Assets Library in the <partysheets> folder at the top level. Or, if you haven't installed Foundry and only used the license key on The Forge, use the GitHub link above. In this case, you will have to download the file to your computer, then upload it to The Forge. If you create a template, please submit it via email, Discord or GitHub, and we will include it in future updates with full credit.
If using The Forge, install the module on your local Foundry installation to have access to the [example_templates](https://github.com/EddieDover/fvtt-party-sheet/tree/main/example_templates) folder, and to upload any you would like to use to your Assets Library in the <partysheets> folder at the top level. Or, if you haven't installed Foundry and only used the license key on The Forge, use the GitHub link above. In this case, you will have to download the file to your computer, then upload it to The Forge. If you create a template, please submit it via email or GitHub, and we will include it in future updates with full credit.

# Support

Feel free to file a Bug Report / Feature Request under the Issues tab of Github.

Or you can join my **Discord** server here: https://discord.gg/XuGx7zNMKZ

# Screenshots

Primary Icon:
Expand Down
2 changes: 1 addition & 1 deletion TEMPLATE_README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template System JSON Documentation

Examples can be found in the [example_templates](https://github.com/EddieDover/fvtt-party-sheet/example_templates) folder. As well, several systems other than 5e have been made, and are in the [example_templates] folder in native Foundry. If using the Forge, install the module on your local Foundry installation to have access to the [example_templates] folder, and to upload any you would like to use to your Assets Library in the <partysheets> folder at the top level. Or, if you haven't installed Foundry and only used the license key on The Forge, use the GitHub link above. In this case, you will have to download the file to your computer, then upload it to The Forge. If you create a template, please submit it via email, Discord or GitHub, and we will include it in future updates with full credit.
Examples can be found in the [example_templates](https://github.com/EddieDover/fvtt-party-sheet/example_templates) folder. As well, several systems other than 5e have been made, and are in the [example_templates] folder in native Foundry. If using the Forge, install the module on your local Foundry installation to have access to the [example_templates] folder, and to upload any you would like to use to your Assets Library in the <partysheets> folder at the top level. Or, if you haven't installed Foundry and only used the license key on The Forge, use the GitHub link above. In this case, you will have to download the file to your computer, then upload it to The Forge. If you create a template, please submit it via email or GitHub, and we will include it in future updates with full credit.

If using native Foundry, place your templates in the <FOUNDRY_VTT/Data/partysheets/> folder.

Expand Down
5 changes: 2 additions & 3 deletions src/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"no-players": "No players are currently logged in.",
"no-systems": "You do not have any json files for this system in your data/partysheets folder. Please add some to enable this feature.",
"bugreport": "File a Bug Report",
"feedback": "Send Feedback",
"discord": "Discord"
"feedback": "Send Feedback"
},
"hide-sheet": {
"button": "Configure Hidden Characters",
Expand All @@ -19,7 +18,7 @@
"settings": {
"enable-minimal-view": {
"name": "Hide Support Buttons",
"hint": "Hide the buttons for bug reports, feedback, and Discord."
"hint": "Hide the buttons for bug reports and feedback."
},
"enable-only-online": {
"name": "Show only online characters",
Expand Down
5 changes: 2 additions & 3 deletions src/lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"no-players": "Ningún jugador ha iniciado sesión actualmente.",
"no-systems": "La carpeta data/partysheets no contiene archivos JSON para este sistema. Necesitas agregar algunos para activar esta funcionalidad.",
"bugreport": "Dar retroalimentación",
"feedback": "Reportar un fallo",
"discord": "Discord"
"feedback": "Reportar un fallo"
},
"hide-sheet": {
"button": "Configurar personajes ocultos",
Expand All @@ -19,7 +18,7 @@
"settings": {
"enable-minimal-view": {
"name": "Ocultar botones de soporte",
"hint": "Ocultar los botones para informes de errores, comentarios y Discord."
"hint": "Ocultar los botones para informes de errores y comentarios."
},
"enable-only-online": {
"name": "Mostrar solo personajes en línea",
Expand Down
9 changes: 0 additions & 9 deletions src/module/app/party-sheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { HiddenCharactersSettings } from "./hidden-characters-settings.js";
const FEEDBACK_URL = "https://github.com/EddieDover/fvtt-party-sheet/issues/new/choose";
const BUGREPORT_URL =
"https://github.com/EddieDover/fvtt-party-sheet/issues/new?assignees=EddieDover&labels=bug&projects=&template=bug_report.yml&title=%5BBug%5D%3A+";
const DISCORD_URL = "https://discord.gg/XuGx7zNMKZ";

const DEFAULT_EXCLUDES = ["npc"];
// @ts-ignore
Expand Down Expand Up @@ -623,8 +622,6 @@ export class PartySheetForm extends FormApplication {
$('button[name="feedback"]', html).click(this.onFeedback.bind(this));
// @ts-ignore
$('button[name="bugreport"]', html).click(this.onBugReport.bind(this));
// @ts-ignore
$('button[name="discord"]', html).click(this.onDiscord.bind(this));
}

onFeedback(event) {
Expand All @@ -638,10 +635,4 @@ export class PartySheetForm extends FormApplication {
const newWindow = window.open(BUGREPORT_URL, "_blank", "noopener,noreferrer");
if (newWindow) newWindow.opener = undefined;
}

onDiscord(event) {
event.preventDefault();
const newWindow = window.open(DISCORD_URL, "_blank", "noopener,noreferrer");
if (newWindow) newWindow.opener = undefined;
}
}
3 changes: 0 additions & 3 deletions src/templates/party-sheet.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
<button type="button" class="btn btn--primary" style="max-width:50px" name="bugreport" title="{{localize "fvtt-party-sheet.party-sheet.bugreport"}}">
<i class="fas fa-bug"></i>
</button>
<button type="button" class="btn btn--primary" style="max-width:50px" name="discord" title="{{localize "fvtt-party-sheet.party-sheet.discord"}}">
<i class="fab fa-discord"></i>
</button>
{{/unless}}
</div>
{{#if applicableSystems.length}}
Expand Down

0 comments on commit 4d146fe

Please sign in to comment.